diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 12:13:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 12:13:33 -0300 |
commit | 7d338953203f9f7cd145e3ef68d8225e69c55663 (patch) | |
tree | f3e0a480d0722386a6fc447b252131fb4a1202e6 /tools | |
parent | 3d121b474b6b8a8337dcc0c2ae9ed3124aceffca (diff) | |
parent | 310f061a4a9ef2325d40cd5f194fe22d54094a31 (diff) |
Merge pull request #2053 from rodolforg/fix-import-button-label
Small fix for Import Game dialog labels
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/project_manager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp index f1eecd53b0..9f47291433 100644 --- a/tools/editor/project_manager.cpp +++ b/tools/editor/project_manager.cpp @@ -245,7 +245,8 @@ public: project_name->clear(); if (import_mode) { - set_title("Import Existing Project:"); + set_title("Import Existing Project"); + get_ok()->set_text("Import"); pp->set_text("Project Path: (Must exist)"); pn->set_text("Project Name:"); pn->hide(); @@ -254,7 +255,8 @@ public: popup_centered(Size2(500,125)); } else { - set_title("Create New Project:"); + set_title("Create New Project"); + get_ok()->set_text("Create"); pp->set_text("Project Path:"); pn->set_text("Project Name:"); pn->show(); @@ -313,7 +315,6 @@ public: l->add_color_override("font_color",Color(1,0.4,0.3,0.8)); l->set_align(Label::ALIGN_CENTER); - get_ok()->set_text("Create"); DirAccess *d = DirAccess::create(DirAccess::ACCESS_FILESYSTEM); project_path->set_text(d->get_current_dir()); memdelete(d); |