diff options
Diffstat (limited to 'editor/editor_command_palette.cpp')
-rw-r--r-- | editor/editor_command_palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp index 567b686b85..d740641f57 100644 --- a/editor/editor_command_palette.cpp +++ b/editor/editor_command_palette.cpp @@ -63,7 +63,7 @@ float EditorCommandPalette::_score_path(const String &p_search, const String &p_ } void EditorCommandPalette::_update_command_search(const String &search_text) { - ERR_FAIL_COND(commands.size() == 0); + ERR_FAIL_COND(commands.is_empty()); HashMap<String, TreeItem *> sections; TreeItem *first_section = nullptr; |