- 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

@@ -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: