Merge pull request #31718 from sparkart/fix_projectmanager_keyup

Fixes Keyup Navigation in Project Manager
This commit is contained in:
Rémi Verschelde
2019-08-27 20:24:35 +02:00
committed by GitHub

View File

@@ -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();