You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Keep focus on floating window when showing ProgressDialog
This commit is contained in:
@@ -81,6 +81,8 @@ class ProgressDialog : public PopupPanel {
|
||||
VBoxContainer *main = nullptr;
|
||||
uint64_t last_progress_tick;
|
||||
|
||||
LocalVector<Window *> host_windows;
|
||||
|
||||
static ProgressDialog *singleton;
|
||||
void _popup();
|
||||
|
||||
@@ -96,6 +98,8 @@ public:
|
||||
bool task_step(const String &p_task, const String &p_state, int p_step = -1, bool p_force_redraw = true);
|
||||
void end_task(const String &p_task);
|
||||
|
||||
void add_host_window(Window *p_window);
|
||||
|
||||
ProgressDialog();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user