summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-11-08 21:39:28 +0900
committervolzhs <volzhs@gmail.com>2016-11-08 21:39:28 +0900
commit571f33f8630672b0538bba592838c023a8300956 (patch)
treeee112e768373dce4284a4e21b21d638ac3209404 /tools/editor
parentcdc4664226cdc397d054b7390d0f75028d40412c (diff)
Set project name as directory name instead of '.'
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/project_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index 1c99982155..dcfea9e305 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -141,7 +141,7 @@ private:
}
String sp = p.simplify_path();
project_path->set_text(sp);
- _path_text_changed(p);
+ _path_text_changed(sp);
get_ok()->call_deferred("grab_focus");
}
@@ -150,7 +150,7 @@ private:
String p = p_path;
String sp = p.simplify_path();
project_path->set_text(sp);
- _path_text_changed(p);
+ _path_text_changed(sp);
get_ok()->call_deferred("grab_focus");
}