- Excellon UI: fixed plot checkbox performing an extra plot function which was not required
This commit is contained in:
@@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- fixed MultiColor checkbox in Excellon Object to work in Legacy Mode (2D)
|
- fixed MultiColor checkbox in Excellon Object to work in Legacy Mode (2D)
|
||||||
- modified the visibility change in Excellon UI to no longer do plot() when doing visibility toggle for one of the tools but only a visibility change in the shapes properties
|
- modified the visibility change in Excellon UI to no longer do plot() when doing visibility toggle for one of the tools but only a visibility change in the shapes properties
|
||||||
- Excellon UI in Legacy Mode (2D): fixed the Solid checkbox functionality
|
- Excellon UI in Legacy Mode (2D): fixed the Solid checkbox functionality
|
||||||
|
- Excellon UI: fixed plot checkbox performing an extra plot function which was not required
|
||||||
|
|
||||||
20.07.2020
|
20.07.2020
|
||||||
|
|
||||||
|
|||||||
@@ -1053,10 +1053,10 @@ class ExcellonObject(FlatCAMObj, Excellon):
|
|||||||
def on_autoload_db_toggled(self, state):
|
def on_autoload_db_toggled(self, state):
|
||||||
self.app.defaults["excellon_autoload_db"] = True if state else False
|
self.app.defaults["excellon_autoload_db"] = True if state else False
|
||||||
|
|
||||||
def on_plot_cb_click(self, *args):
|
def on_plot_cb_click(self, val):
|
||||||
if self.muted_ui:
|
if self.muted_ui:
|
||||||
return
|
return
|
||||||
self.plot()
|
# self.plot()
|
||||||
self.read_form_item('plot')
|
self.read_form_item('plot')
|
||||||
|
|
||||||
self.ui_disconnect()
|
self.ui_disconnect()
|
||||||
@@ -1067,7 +1067,6 @@ class ExcellonObject(FlatCAMObj, Excellon):
|
|||||||
table_cb.setChecked(True)
|
table_cb.setChecked(True)
|
||||||
else:
|
else:
|
||||||
table_cb.setChecked(False)
|
table_cb.setChecked(False)
|
||||||
|
|
||||||
self.ui_connect()
|
self.ui_connect()
|
||||||
|
|
||||||
def on_plot_cb_click_table(self):
|
def on_plot_cb_click_table(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user