- upgraded all the plugins such that at each launch the Plugin UI is reinitialized reducing the chances to get errors like "wrapped up C++ object deleted" with the side effect that the performance might be slightly reduced
This commit is contained in:
@@ -153,7 +153,7 @@ class BufferSelectionTool(AppTool):
|
||||
# focus on Tool Tab
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.plugin_tab)
|
||||
|
||||
self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
# self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
|
||||
self.app.ui.notebook.setTabText(2, _("Buffer Tool"))
|
||||
|
||||
@@ -393,7 +393,7 @@ class TextInputTool(AppTool):
|
||||
# focus on Tool Tab
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.plugin_tab)
|
||||
|
||||
self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
# self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
|
||||
self.app.ui.notebook.setTabText(2, _("Text Tool"))
|
||||
|
||||
@@ -609,7 +609,7 @@ class PaintOptionsTool(AppTool):
|
||||
# focus on Tool Tab
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.plugin_tab)
|
||||
|
||||
self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
# self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
|
||||
self.app.ui.notebook.setTabText(2, _("Paint Tool"))
|
||||
|
||||
@@ -1104,7 +1104,7 @@ class TransformEditorTool(AppTool):
|
||||
# focus on Tool Tab
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.plugin_tab)
|
||||
|
||||
self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
# self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
|
||||
if toggle:
|
||||
try:
|
||||
|
||||
@@ -7079,7 +7079,7 @@ class TransformEditorTool(AppTool):
|
||||
# focus on Tool Tab
|
||||
self.app.ui.notebook.setCurrentWidget(self.app.ui.plugin_tab)
|
||||
|
||||
self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
# self.app.ui.notebook.callback_on_close = self.on_tab_close
|
||||
|
||||
if toggle:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user