mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #103397 from KoBeWi/good_luck_finding_where_'is_path_valid'_is_now_assigned
Improve path validation in ScriptCreateDialog
This commit is contained in:
commit
cae8c3e0fa
2 changed files with 11 additions and 7 deletions
|
|
@ -98,7 +98,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