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
|
|
@ -524,8 +524,6 @@ void Window::set_ime_position(const Point2i &p_pos) {
|
|||
|
||||
bool Window::is_embedded() const {
|
||||
ERR_READ_THREAD_GUARD_V(false);
|
||||
ERR_FAIL_COND_V(!is_inside_tree(), false);
|
||||
|
||||
return get_embedder() != nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue