diff options
Diffstat (limited to 'tools/editor/progress_dialog.cpp')
-rw-r--r-- | tools/editor/progress_dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/progress_dialog.cpp b/tools/editor/progress_dialog.cpp index d072ce7f83..2814101a27 100644 --- a/tools/editor/progress_dialog.cpp +++ b/tools/editor/progress_dialog.cpp @@ -140,6 +140,9 @@ void BackgroundProgress::end_task(const String& p_task){ //////////////////////////////////////////////// + +ProgressDialog *ProgressDialog::singleton=NULL; + void ProgressDialog::_notification(int p_what) { switch(p_what) { @@ -237,4 +240,5 @@ ProgressDialog::ProgressDialog() { main->set_area_as_parent_rect(); set_exclusive(true); last_progress_tick=0; + singleton=this; } |