mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improve path validation in ScriptCreateDialog
This commit is contained in:
parent
15ff450680
commit
a1ef1aae2b
2 changed files with 11 additions and 7 deletions
|
|
@ -99,7 +99,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
|||
void _built_in_pressed();
|
||||
void _use_template_pressed();
|
||||
bool _validate_parent(const String &p_string);
|
||||
String _validate_path(const String &p_path, bool p_file_must_exist);
|
||||
String _validate_path(const String &p_path, bool p_file_must_exist, bool *r_path_valid = nullptr);
|
||||
void _parent_name_changed(const String &p_parent);
|
||||
void _template_changed(int p_template = 0);
|
||||
void _browse_path(bool browse_parent, bool p_save);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue