diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2020-12-22 23:38:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 23:38:26 +0100 |
commit | a7d8fddf31905be337bf8d3e5bffa4ac2a22d136 (patch) | |
tree | c88ff4eac1a7927bc13f37eddf54198fc68d1295 | |
parent | a003ff0cf2a729edf3e08922ca5341ab8acd05c9 (diff) | |
parent | ed488b72a64b14558b8367841a67fefbaa78ecf2 (diff) |
Merge pull request #44598 from YeldhamDev/file_disambiguation_fix
Fix filename disambiguation on scripts in certain occasions
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index e0a6fe16f7..7607ab482c 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -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); } |