- when a Plugin is no longer used disconnect a certain signal that control the selection in the App Object Target combobox since it is not needed and it takes cpu cycles
This commit is contained in:
committed by
Marius Stanciu
parent
585231ec51
commit
1f321f9dcb
@@ -10,6 +10,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
2.09.2021
|
2.09.2021
|
||||||
|
|
||||||
- in Geometry Editor, deleting a shape from the Table context menu will update now the plot
|
- in Geometry Editor, deleting a shape from the Table context menu will update now the plot
|
||||||
|
- when a Plugin is no longer used disconnect a certain signal that control the selection in the App Object Target combobox since it is not needed and it takes cpu cycles
|
||||||
|
|
||||||
1.09.2021
|
1.09.2021
|
||||||
|
|
||||||
|
|||||||
@@ -6704,6 +6704,14 @@ class App(QtCore.QObject):
|
|||||||
# except Exception as err:
|
# except Exception as err:
|
||||||
# print(str(err))
|
# print(str(err))
|
||||||
|
|
||||||
|
try:
|
||||||
|
# this signal is used by the Plugins to change the selection on App objects combo boxes when the
|
||||||
|
# selection happen in Project Tab (collection view)
|
||||||
|
# when the plugin is closed then it's not needed
|
||||||
|
self.proj_selection_changed.disconnect()
|
||||||
|
except (TypeError, AttributeError):
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# clear the possible drawn probing shapes for Levelling Tool
|
# clear the possible drawn probing shapes for Levelling Tool
|
||||||
self.levelling_tool.probing_shapes.clear(update=True)
|
self.levelling_tool.probing_shapes.clear(update=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user