Fix auto-reparenting logic in the ProgressDialog
* Make sure `Popup` signals are disconnected when unparented. * Remove a fail condition from `Window::is_embedded` when not in tree.
This commit is contained in:
parent
2f57da2907
commit
4c5c7cbb58
5 changed files with 6 additions and 15 deletions
|
|
@ -6981,6 +6981,7 @@ EditorNode::EditorNode() {
|
|||
resource_preview = memnew(EditorResourcePreview);
|
||||
add_child(resource_preview);
|
||||
progress_dialog = memnew(ProgressDialog);
|
||||
progress_dialog->set_unparent_when_invisible(true);
|
||||
|
||||
// Take up all screen.
|
||||
gui_base->set_anchor(SIDE_RIGHT, Control::ANCHOR_END);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue