Skip to content

Commit

Permalink
Merge pull request CleverRaven#72985 from katemonster33/imgui_keybind…
Browse files Browse the repository at this point in the history
…ings_plus_key

Fixed an oopsie where keybindings UI doesn't process the + key
  • Loading branch information
Maleclypse authored Apr 15, 2024
2 parents 316fd4b + e72eb66 commit d2718cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/input_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,8 @@ action_id input_context::display_menu( bool permit_execute_action )
} else if( action == "TEXT.CONFIRM" ) {
kb_menu.status = kb_menu_status::show;
}
} else if( action == "ADD_LOCAL" ) {
} else if( action == "ADD_LOCAL"
|| raw_input_char == fallback_keys.at( fallback_action::add_local ) ) {
if( !kb_menu.filtered_registered_actions.empty() ) {
kb_menu.status = kb_menu_status::add;
}
Expand Down

0 comments on commit d2718cc

Please sign in to comment.