1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 07:10:06 +02:00

Bug 2315 - Mac: Keyboard Preferences is unusable until scrolled.

Second attempt with this bug.  I see a pattern emerging for my
"fixes"!!! :-(
This commit is contained in:
Leland Lucius 2020-03-08 23:18:51 -05:00
parent 37d730edfe
commit 668bcfc82e
3 changed files with 13 additions and 5 deletions

@ -221,9 +221,11 @@ bool ExtImportPrefs::Commit()
void ExtImportPrefs::OnShow(wxShowEvent &event) void ExtImportPrefs::OnShow(wxShowEvent &event)
{ {
event.Skip(); event.Skip();
if (event.IsShown())
RuleTable->Refresh(); {
PluginList->Refresh(); RuleTable->Refresh();
PluginList->Refresh();
}
} }
void ExtImportPrefs::OnPluginKeyDown(wxListEvent& event) void ExtImportPrefs::OnPluginKeyDown(wxListEvent& event)

@ -469,7 +469,10 @@ void KeyConfigPrefs::OnShow(wxShowEvent & event)
{ {
event.Skip(); event.Skip();
mView->Refresh(); if (event.IsShown())
{
mView->Refresh();
}
} }
void KeyConfigPrefs::OnImport(wxCommandEvent & WXUNUSED(event)) void KeyConfigPrefs::OnImport(wxCommandEvent & WXUNUSED(event))

@ -221,7 +221,10 @@ void MousePrefs::OnShow(wxShowEvent &event)
{ {
event.Skip(); event.Skip();
mList->Refresh(); if (event.IsShown())
{
mList->Refresh();
}
} }
/// Update the preferences stored on disk. /// Update the preferences stored on disk.