Merge pull request #6722 from Hinsbart/projman_focus

Project manager: grab focus on ok button after path selection.
This commit is contained in:
Rémi Verschelde 2016-10-09 14:41:44 +02:00 committed by GitHub
commit 8711523c98

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() {