You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove some redundant lines
This commit is contained in:
@@ -431,8 +431,6 @@ void FileDialog::update_file_list() {
|
||||
dirs.pop_front();
|
||||
}
|
||||
|
||||
dirs.clear();
|
||||
|
||||
List<String> patterns;
|
||||
// build filter
|
||||
if (filter->get_selected() == filter->get_item_count() - 1) {
|
||||
@@ -507,8 +505,6 @@ void FileDialog::update_file_list() {
|
||||
|
||||
if (tree->get_root() && tree->get_root()->get_children() && tree->get_selected() == NULL)
|
||||
tree->get_root()->get_children()->select(0);
|
||||
|
||||
files.clear();
|
||||
}
|
||||
|
||||
void FileDialog::_filter_selected(int) {
|
||||
|
||||
Reference in New Issue
Block a user