mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Bug1656: (Win) KB nav of toolbar buttons should skip disabled...
... This was broken at commit 6478895a39, Win-specific change meant to fix
bug 1565 (tooltips did not show for diabled buttons on Win)
This easy one-line fix preserves that, fixes 1656 too.
This commit is contained in:
@@ -57,7 +57,7 @@ class AButton final : public wxWindow {
|
||||
virtual ~ AButton();
|
||||
|
||||
bool AcceptsFocus() const override { return s_AcceptsFocus; }
|
||||
bool AcceptsFocusFromKeyboard() const override { return true; }
|
||||
bool AcceptsFocusFromKeyboard() const override { return mEnabled; }
|
||||
|
||||
void SetFocusFromKbd() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user