mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Remove redundant "== false" code
Some of this code has been re-organized. f
This commit is contained in:
parent
37386f112b
commit
4f7b33cdcf
33 changed files with 81 additions and 73 deletions
|
|
@ -501,7 +501,7 @@ void EditorFileDialog::_items_clear_selection() {
|
|||
case MODE_OPEN_FILE:
|
||||
case MODE_OPEN_FILES:
|
||||
get_ok()->set_text(TTR("Open"));
|
||||
get_ok()->set_disabled(item_list->is_anything_selected() == false);
|
||||
get_ok()->set_disabled(!item_list->is_anything_selected());
|
||||
break;
|
||||
|
||||
case MODE_OPEN_DIR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue