summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2016-11-09 12:02:24 +0100
committerGitHub <noreply@github.com>2016-11-09 12:02:24 +0100
commit734e04a0ddfa844292e505e3f4e66aa053a6c04d (patch)
tree84917b27b57dc3f7c05d0a4427a57ff58accd9c0 /tools/editor
parent9a504b650e940a1d5c23295feecd7c8cedeba1c8 (diff)
parent571f33f8630672b0538bba592838c023a8300956 (diff)
Merge pull request #7068 from volzhs/fix-project-name
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 ee0169027b..069d7cef81 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");
}