- fixed issue with not updating the model view on the model used in the Project tab when using the shortcut keys 1, 2, 3 which made the color of the tree element not reflect the change in status

This commit is contained in:
Marius Stanciu 2020-10-26 21:11:24 +02:00 committed by Marius
parent edb1407b13
commit aa8a248f44
2 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,7 @@ CHANGELOG for FlatCAM beta
- modified the shortcut strings and the way the shortcuts were listed in the Shortcut keys list such that it will allow a future Shortcuts Manager
- updated all the language strings according to the modifications done above
- fixed a small issue with using the shortcut key for toggling the display of Properties tab
- fixed issue with not updating the model view on the model used in the Project tab when using the shortcut keys 1, 2, 3 which made the color of the tree element not reflect the change in status
25.10.2020

View File

@ -7606,6 +7606,7 @@ class App(QtCore.QObject):
except AttributeError:
pass
obj.options.set_change_callback(obj.on_options_change)
self.collection.update_view()
def worker_task(objs):
with self.proc_container.new(_("Enabling plots ...")):
@ -7652,6 +7653,8 @@ class App(QtCore.QObject):
except Exception as e:
log.debug("App.disable_plots() --> %s" % str(e))
self.collection.update_view()
def worker_task(objs):
with self.proc_container.new(_("Disabling plots ...")):
for plot_obj in objs: