- some issues fixed that were left behind rom porting to PyQt6
- trying to solve differently RuntimeError exceptions that randomly popup due of wrapped C++ objects being deleted by attempting to create a new UI for the objects
This commit is contained in:
@@ -8445,6 +8445,9 @@ class App(QtCore.QObject):
|
||||
if active_obj:
|
||||
try:
|
||||
active_obj.build_ui()
|
||||
except RuntimeError:
|
||||
active_obj.set_ui(active_obj.ui_type(app=self))
|
||||
active_obj.build_ui()
|
||||
except Exception:
|
||||
self.setup_default_properties_tab()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user