summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-11 00:17:54 +0200
committerGitHub <noreply@github.com>2016-07-11 00:17:54 +0200
commit9397458cc0a37f4899a0dba5352a6e045ed123d8 (patch)
treeee4b0b0588fdd7c8dbe3a0acabace07f4fe66491 /main
parentd37ef5990b229c0fb90c25e884ae6ef42dda5a6c (diff)
parent1a1b62748a01928401a344b8c538b59f75706ece (diff)
Merge pull request #5634 from vnen/assetlib-map-crash
Fix crash on asset lib install
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index adaebab1d4..aa8540632f 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1504,6 +1504,8 @@ bool Main::start() {
if (project_manager_request || (script=="" && test=="" && game_path=="" && !editor)) {
ProjectManager *pmanager = memnew( ProjectManager );
+ ProgressDialog *progress_dialog = memnew( ProgressDialog );
+ pmanager->add_child(progress_dialog);
sml->get_root()->add_child(pmanager);
OS::get_singleton()->set_context(OS::CONTEXT_PROJECTMAN);
}