mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
ScriptCreateDialog: Suggested language extension now matches the selected language.
Fixes #34711
This commit is contained in:
parent
7fddf5eb7c
commit
99efc93419
@ -109,6 +109,7 @@ void ScriptCreateDialog::config(const String &p_base_name, const String &p_base_
|
||||
if (p_base_path != "") {
|
||||
initial_bp = p_base_path.get_basename();
|
||||
file_path->set_text(initial_bp + "." + ScriptServer::get_language(language_menu->get_selected())->get_extension());
|
||||
current_language = language_menu->get_selected();
|
||||
} else {
|
||||
initial_bp = "";
|
||||
file_path->set_text("");
|
||||
|
Loading…
Reference in New Issue
Block a user