Browse Source

[Editor] Fix editor progress dialog auto closing on focus loss.

bruvzg 2 years ago
parent
commit
b3d574e22d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/progress_dialog.cpp

+ 1 - 0
editor/progress_dialog.cpp

@@ -257,6 +257,7 @@ ProgressDialog::ProgressDialog() {
 	add_child(main);
 	main->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
 	set_exclusive(true);
+	set_flag(Window::FLAG_POPUP, false);
 	last_progress_tick = 0;
 	singleton = this;
 	cancel_hb = memnew(HBoxContainer);