- fixed toggling the visibility for the CNCJob objects (was in reverse to the expected state)
This commit is contained in:
@@ -10,6 +10,7 @@ CHANGELOG for FlatCAM Evo beta
|
|||||||
27.03.2022
|
27.03.2022
|
||||||
|
|
||||||
- trying to make loading a project an easier task for the application
|
- trying to make loading a project an easier task for the application
|
||||||
|
- fixed toggling the visibility for the CNCJob objects (was in reverse to the expected state)
|
||||||
|
|
||||||
24.03.2022
|
24.03.2022
|
||||||
|
|
||||||
|
|||||||
@@ -1218,12 +1218,14 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
|||||||
"""
|
"""
|
||||||
if self.muted_ui:
|
if self.muted_ui:
|
||||||
return
|
return
|
||||||
|
|
||||||
kind = self.ui.cncplot_method_combo.get_value()
|
kind = self.ui.cncplot_method_combo.get_value()
|
||||||
self.plot(kind=kind)
|
|
||||||
self.read_form_item('plot')
|
self.read_form_item('plot')
|
||||||
|
|
||||||
self.ui_disconnect()
|
self.ui_disconnect()
|
||||||
cb_flag = self.ui.plot_cb.isChecked()
|
# cb_flag = self.ui.plot_cb.isChecked()
|
||||||
|
cb_flag = self.obj_options['plot']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
for row in range(self.ui.cnc_tools_table.rowCount()):
|
for row in range(self.ui.cnc_tools_table.rowCount()):
|
||||||
table_cb = self.ui.cnc_tools_table.cellWidget(row, 6)
|
table_cb = self.ui.cnc_tools_table.cellWidget(row, 6)
|
||||||
@@ -1236,6 +1238,8 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
|||||||
pass
|
pass
|
||||||
self.ui_connect()
|
self.ui_connect()
|
||||||
|
|
||||||
|
self.plot(kind=kind)
|
||||||
|
|
||||||
def on_plot_cb_click_table(self):
|
def on_plot_cb_click_table(self):
|
||||||
"""
|
"""
|
||||||
Handler for clicking the plot checkboxes added into a Table on each row. Purpose: toggle visibility for the
|
Handler for clicking the plot checkboxes added into a Table on each row. Purpose: toggle visibility for the
|
||||||
|
|||||||
Reference in New Issue
Block a user