Skip to content

Commit

Permalink
Fix keycode picker not saving changes when double-clicking a key entry
Browse files Browse the repository at this point in the history
  • Loading branch information
elvissteinjr committed Apr 11, 2024
1 parent 119148f commit 6774b49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DesktopPlusUI/WindowSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5241,6 +5241,7 @@ void WindowSettings::UpdatePageKeyCodePicker(bool only_restore_settings)

if ((ImGui::IsItemClicked()) && (ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left)))
{
key_code_prev = m_KeyCodePickerID; //Prevent it from being reset
PageGoBack();
}

Expand Down

0 comments on commit 6774b49

Please sign in to comment.