Synchronize the state of the plot checkboxes to the state of the settings.

This commit is contained in:
mquezada
2018-04-20 13:30:38 -04:00
parent ec4263e32b
commit 8e4f081ac3
3 changed files with 62 additions and 3 deletions

View File

@@ -306,7 +306,7 @@ class ObjectCollection(QtCore.QAbstractListModel):
self.object_list[selection_index].build_ui()
def on_item_changed(self, item):
#FlatCAMApp.App.log.debug("on_item_changed(): " + str(item.row()) + " " + self.object_list[item.row()].options["name"])
FlatCAMApp.App.log.debug("on_item_changed(): " + str(item.row()) + " " + self.object_list[item.row()].options["name"])
if item.checkState() == QtCore.Qt.Checked:
self.object_list[item.row()].options["plot"] = True #(item.checkState() == QtCore.Qt.Checked)
else: