- fixed bug that crashed the software when trying to edit a GUI value in Geometry selected tab without having a tool in the Tools Table
This commit is contained in:
@@ -4026,6 +4026,12 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
|
||||
self.ui.ois_tcz_geo.on_cb_change()
|
||||
|
||||
def gui_form_to_storage(self):
|
||||
|
||||
if self.ui.geo_tools_table.rowCount() == 0:
|
||||
# there is no tool in tool table so we can't save the GUI elements values to storage
|
||||
log.debug("FlatCAMGeometry.gui_form_to_storage() --> no tool in Tools Table, aborting.")
|
||||
return
|
||||
|
||||
self.ui_disconnect()
|
||||
widget_changed = self.sender()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user