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

Moves cursor to and selects "new_script" in Create Script dialog

When Create Script dialog pops up, the cursor in the Path LineEdit is
moved to the "new_script" name placeholder and it is selected.
This commit is contained in:
Erik
2019-02-08 18:42:05 +01:00
parent 16d402147b
commit a83877a8e8
2 changed files with 19 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
String script_template;
Vector<String> template_list;
void _path_hbox_sorted();
bool _can_be_built_in();
void _path_changed(const String &p_path = String());
void _path_entered(const String &p_path = String());