mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Prevents keyboard navigation from freezing when the Snap To checkbox
has the focus on GTK.
This commit is contained in:
parent
c8d8890211
commit
4476bf26e6
@ -232,7 +232,12 @@ void SelectionBar::Populate()
|
||||
* because the boundaries 'snap to' the nearest whole number.*/
|
||||
mSnapTo = new wxCheckBox(this, OnSnapToID, _("Snap To"),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
#if defined(__WXGTK__)
|
||||
// See bug #356 for explanation
|
||||
wxALIGN_LEFT);
|
||||
#else
|
||||
wxALIGN_RIGHT);
|
||||
#endif
|
||||
mainSizer->Add(mSnapTo,
|
||||
0, wxALIGN_CENTER_VERTICAL | wxALIGN_CENTER | wxRIGHT, 5);
|
||||
mSnapTo->SetName(_("Snap To"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user