- make sure that if the Properties Tab is selected then the Object UI is updated (built) on object selection on canvas

- code cleanup
This commit is contained in:
Marius Stanciu
2021-10-07 19:46:07 +03:00
committed by Marius
parent 56451688d5
commit 54d4c7cb78
5 changed files with 22 additions and 20 deletions

View File

@@ -995,11 +995,8 @@ class ObjectCollection(QtCore.QAbstractItemModel):
self.app.setup_default_properties_tab()
return
# if obj:
# try:
# obj.build_ui()
# except RuntimeError:
# pass
# make sure that if the Properties Tab is selected then the Object UI is updated (built)
self.app.on_notebook_tab_changed()
# don't emit the signal if there more than one objects selected
# this signal is intended to be emitted for a single selection in the collection view