mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Merge pull request #44598 from YeldhamDev/file_disambiguation_fix
Fix filename disambiguation on scripts in certain occasions
This commit is contained in:
commit
a7d8fddf31
@ -1954,7 +1954,7 @@ void ScriptEditor::_update_script_names() {
|
||||
Vector<String> disambiguated_script_names;
|
||||
Vector<String> full_script_paths;
|
||||
for (int j = 0; j < sedata.size(); j++) {
|
||||
disambiguated_script_names.append(sedata[j].name.replace("(*)", ""));
|
||||
disambiguated_script_names.append(sedata[j].name.replace("(*)", "").get_file());
|
||||
full_script_paths.append(sedata[j].tooltip);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user