1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Automatically reparent editor message dialogs to avoid error spam.

This commit is contained in:
bruvzg
2023-02-15 16:35:16 +02:00
parent 6cde3fac32
commit 921f3b7589
6 changed files with 113 additions and 44 deletions

View File

@@ -221,9 +221,7 @@ bool ProgressDialog::task_step(const String &p_task, const String &p_state, int
t.state->set_text(p_state);
last_progress_tick = OS::get_singleton()->get_ticks_usec();
if (cancel_hb->is_visible()) {
DisplayServer::get_singleton()->process_events();
}
DisplayServer::get_singleton()->process_events();
#ifndef ANDROID_ENABLED
Main::iteration(); // this will not work on a lot of platforms, so it's only meant for the editor