Fix/cleanup destroyed
Description
This MR fixes two problems:
- When the parent got deleted but the cleanup wasn't executed yet, it might happen that it will be called twice. To avoid this, a
_destroyedflag was introduced. - When the user cancels the UI file launcher, an error message pops up stating that
"" cannot be loaded. This MR changes it to simply return None.
Definition of Done
-
Documentation is up-to-date.
Edited by wakonig_k