Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interpreter: Fix wrong parent item tree of the PopupWindow (#6448)
When calling `popup.show()` the parent itemtree of the popup should be the one from the parent in which the PopupWindow is declared in the source, and not the one of the context in which the `popup.show()` code appears. Part of issue #6426. This happens to fix the issue as presented there. But there is another issue in which we still crash when trying to access global from a popup who's parent has been deleted because the interpreter needs access to the root item tree to access the globals
- Loading branch information