- modified the method that detects which tab was closed in the Plot Area so it will no longer depend on it's translated text but on it's objectName set on the QTab creation
This commit is contained in:
@@ -2088,9 +2088,9 @@ class FCDetachableTab2(FCDetachableTab):
|
||||
:param currentIndex:
|
||||
:return:
|
||||
"""
|
||||
idx = self.currentIndex()
|
||||
|
||||
self.tab_closed_signal.emit(self.tabText(idx))
|
||||
# idx = self.currentIndex()
|
||||
self.tab_name = self.widget(currentIndex).objectName()
|
||||
self.tab_closed_signal.emit(self.tab_name)
|
||||
|
||||
self.removeTab(currentIndex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user