diff options
author | DrNochi <drnochi@users.noreply.github.com> | 2019-04-30 15:58:02 +0200 |
---|---|---|
committer | DrNochi <drnochi@users.noreply.github.com> | 2019-04-30 16:06:43 +0200 |
commit | 23fd2a9175d7f86506675714db87f8b229feaa8d (patch) | |
tree | 26e1b5350b73093a6a8c7ae26a30e48e3d0ad38b /editor/script_create_dialog.h | |
parent | 9dc9434b1bcde48259fa68066a7a3e2cff5d5eab (diff) | |
download | redot-engine-23fd2a9175d7f86506675714db87f8b229feaa8d.tar.gz |
Fix script dialog path validation to handle spaces correctly
Diffstat (limited to 'editor/script_create_dialog.h')
-rw-r--r-- | editor/script_create_dialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/script_create_dialog.h b/editor/script_create_dialog.h index f5c335c00a..1a3ba3d371 100644 --- a/editor/script_create_dialog.h +++ b/editor/script_create_dialog.h @@ -87,6 +87,7 @@ class ScriptCreateDialog : public ConfirmationDialog { void _lang_changed(int l = 0); void _built_in_pressed(); bool _validate(const String &p_string); + String _validate_path(const String &p_path, bool p_file_must_exist); void _class_name_changed(const String &p_name); void _parent_name_changed(const String &p_parent); void _template_changed(int p_template = 0); |