diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-27 20:24:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-27 20:24:35 +0200 |
commit | c59da91aad4c73c68e5e2884674f5fb3c3340751 (patch) | |
tree | d8342e4fc43263932022eca66e3c4cca180e992f | |
parent | d8de8d5e34867f855865d14af59347d08be56442 (diff) | |
parent | 36e39966778b17cb8ba78071b50e3f8c97db324f (diff) |
Merge pull request #31718 from sparkart/fix_projectmanager_keyup
Fixes Keyup Navigation in Project Manager
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index fbaa90c3d7..23aba06956 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1832,7 +1832,7 @@ void ProjectManager::_unhandled_input(const Ref<InputEvent> &p_ev) { break; int index = _project_list->get_single_selected_index(); - if (index - 1 > 0) { + if (index > 0) { _project_list->select_project(index - 1); _project_list->ensure_project_visible(index - 1); _update_project_buttons(); |