You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Fix editor will freeze when modifying filesystem filter path in Split Mode
This commit is contained in:
@@ -1004,6 +1004,9 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (!directory.begins_with("res://")) {
|
||||||
|
directory = "res://" + directory;
|
||||||
|
}
|
||||||
// Get infos on the directory + file.
|
// Get infos on the directory + file.
|
||||||
if (directory.ends_with("/") && directory != "res://") {
|
if (directory.ends_with("/") && directory != "res://") {
|
||||||
directory = directory.substr(0, directory.length() - 1);
|
directory = directory.substr(0, directory.length() - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user