- made sure that possible temporary drawn shapes are deleted when the UI of the Plugin that created them is closed (by closing it in the Plugin Tab)

This commit is contained in:
Marius Stanciu
2021-03-07 23:35:01 +02:00
committed by Marius
parent 9855405b2e
commit f9d496f1e0
3 changed files with 17 additions and 4 deletions

View File

@@ -903,7 +903,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.setCentralWidget(self.splitter)
# self.notebook = QtWidgets.QTabWidget()
self.notebook = FCDetachableTab(protect=True, protect_by_name=[_("Project"), _("Properties")], parent=self)
self.notebook = FCDetachableTab2(protect=True, protect_by_name=[_("Project"), _("Properties")], parent=self)
# self.notebook.setTabsClosable(False)
self.notebook.useOldIndex(True)