1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 09:00:07 +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

View File

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

View File

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

View File

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