diff --git a/CHANGELOG.md b/CHANGELOG.md index 55611d50..357c8b1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/app_Main.py b/app_Main.py index 06dfbb82..a57111ba 100644 --- a/app_Main.py +++ b/app_Main.py @@ -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: