Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
@ -2621,8 +2621,9 @@ void FileSystemDock::_get_imported_files(const String &p_path, Vector<String> &f
|
||||
}
|
||||
|
||||
void FileSystemDock::_update_import_dock() {
|
||||
if (!import_dock_needs_update)
|
||||
if (!import_dock_needs_update) {
|
||||
return;
|
||||
}
|
||||
|
||||
// List selected.
|
||||
Vector<String> selected;
|
||||
@ -2633,8 +2634,9 @@ void FileSystemDock::_update_import_dock() {
|
||||
} else {
|
||||
// Use the file list.
|
||||
for (int i = 0; i < files->get_item_count(); i++) {
|
||||
if (!files->is_selected(i))
|
||||
if (!files->is_selected(i)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
selected.push_back(files->get_item_metadata(i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user