- 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:
parent
edb1407b13
commit
aa8a248f44
@ -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
|
- 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
|
- 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 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
|
25.10.2020
|
||||||
|
|
||||||
|
@ -7606,6 +7606,7 @@ class App(QtCore.QObject):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
obj.options.set_change_callback(obj.on_options_change)
|
obj.options.set_change_callback(obj.on_options_change)
|
||||||
|
self.collection.update_view()
|
||||||
|
|
||||||
def worker_task(objs):
|
def worker_task(objs):
|
||||||
with self.proc_container.new(_("Enabling plots ...")):
|
with self.proc_container.new(_("Enabling plots ...")):
|
||||||
@ -7652,6 +7653,8 @@ class App(QtCore.QObject):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.debug("App.disable_plots() --> %s" % str(e))
|
log.debug("App.disable_plots() --> %s" % str(e))
|
||||||
|
|
||||||
|
self.collection.update_view()
|
||||||
|
|
||||||
def worker_task(objs):
|
def worker_task(objs):
|
||||||
with self.proc_container.new(_("Disabling plots ...")):
|
with self.proc_container.new(_("Disabling plots ...")):
|
||||||
for plot_obj in objs:
|
for plot_obj in objs:
|
||||||
|
Loading…
Reference in New Issue
Block a user