mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
This commit is contained in:
parent
6e600cb3f0
commit
3d15f04668
128 changed files with 872 additions and 455 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue