- fixed another bug that when selecting an Excellon object after disabling it it crashed the app

- RELEASE 8.92
This commit is contained in:
Marius Stanciu
2019-08-01 00:37:11 +03:00
parent 45d89a716e
commit 8cadcb3837
11 changed files with 66 additions and 65 deletions

View File

@@ -646,22 +646,22 @@ class SolderPaste(FlatCAMTool):
if isinstance(self.gcode_form_layout.itemAt(i).widget(), FCComboBox):
try:
self.gcode_form_layout.itemAt(i).widget().currentIndexChanged.disconnect()
except TypeError:
except (TypeError, AttributeError):
pass
if isinstance(self.gcode_form_layout.itemAt(i).widget(), FCEntry):
try:
self.gcode_form_layout.itemAt(i).widget().editingFinished.disconnect()
except TypeError:
except (TypeError, AttributeError):
pass
try:
self.tools_table.itemChanged.disconnect(self.on_tool_edit)
except TypeError:
except (TypeError, AttributeError):
pass
try:
self.tools_table.currentItemChanged.disconnect(self.on_row_selection_change)
except TypeError:
except (TypeError, AttributeError):
pass
def update_comboboxes(self, obj, status):