Skip to content

Commit

Permalink
Merge pull request #31718 from sparkart/fix_projectmanager_keyup
Browse files Browse the repository at this point in the history
Fixes Keyup Navigation in Project Manager
  • Loading branch information
akien-mga authored Aug 27, 2019
2 parents d8de8d5 + 36e3996 commit c59da91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/project_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c59da91

Please sign in to comment.