1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Project manager: grab focus on ok button after path selection.

Slight usability improvement: grabs focus on the Import/Create button after engine.cfg/path selection.
So then I can just press enter to create the project ^^
This commit is contained in:
Andreas Haas
2016-10-06 12:41:38 +02:00
parent 1f9e16119f
commit 36d2dd5318

View File

@@ -142,6 +142,7 @@ private:
String sp = p.simplify_path();
project_path->set_text(sp);
_path_text_changed(p);
get_ok()->call_deferred("grab_focus");
}
void _path_selected(const String& p_path) {
@@ -150,7 +151,7 @@ private:
String sp = p.simplify_path();
project_path->set_text(sp);
_path_text_changed(p);
get_ok()->call_deferred("grab_focus");
}
void _browse_path() {