1
0
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:
James Buck
2019-05-29 15:20:39 -05:00
parent b374a9ff69
commit 4f4513f99c
3 changed files with 1 additions and 13 deletions

View File

@@ -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) {