You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
This commit is contained in:
@@ -700,7 +700,8 @@ bool EditorFileDialog::_is_open_should_be_disabled() {
|
||||
void EditorFileDialog::update_file_name() {
|
||||
int idx = filter->get_selected() - 1;
|
||||
if ((idx == -1 && filter->get_item_count() == 2) || (filter->get_item_count() > 2 && idx >= 0 && idx < filter->get_item_count() - 2)) {
|
||||
if (idx == -1) idx += 1;
|
||||
if (idx == -1)
|
||||
idx += 1;
|
||||
String filter_str = filters[idx];
|
||||
String file_str = file->get_text();
|
||||
String base_name = file_str.get_basename();
|
||||
|
||||
Reference in New Issue
Block a user