1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 07:43:50 +01:00

Fix off by one in accessibility.

Fix moving to next entry when pressing a key.
Fix hotkey edit box not accepting "RETURN" key
This commit is contained in:
lllucius
2013-10-02 16:36:53 +00:00
parent 55384ff5e0
commit 3d0bbdf787
2 changed files with 27 additions and 15 deletions

View File

@@ -237,10 +237,12 @@ void KeyConfigPrefs::PopulateOrExchange(ShuttleGui & S)
wxT(""),
wxDefaultPosition,
#if defined(__WXMAC__)
wxSize(300, -1));
wxSize(300, -1),
#else
wxSize(210, -1));
wxSize(210, -1),
#endif
wxTE_PROCESS_ENTER);
mKey->SetName(_("Short cut"));
mKey->Connect(wxEVT_KEY_DOWN,
wxKeyEventHandler(KeyConfigPrefs::OnHotkeyKeyDown),