Skip to content

Commit

Permalink
Merge pull request CleverRaven#73420 from katemonster33/popup_letter_…
Browse files Browse the repository at this point in the history
…switch_regression

ImGui popup: switch selected option when lower-case letter is pressed
  • Loading branch information
Maleclypse authored May 5, 2024
2 parents e598716 + b1a2520 commit 8998865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ query_popup::result query_popup::query_once()
} else {
for( size_t ind = 0; ind < options.size(); ++ind ) {
if( res.action == options[ind].action ) {
cur = ind;
impl->keyboard_selected_option = ind;
if( options[ind].filter( res.evt ) ) {
res.wait_input = false;
break;
Expand Down

0 comments on commit 8998865

Please sign in to comment.