1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

most of David's patch for Bug 712 - Keyboard preferences hotkey search - entering multiple keys

This commit is contained in:
v.audacity 2014-08-12 22:33:35 +00:00
parent 5a01406d49
commit 61285bc7be

View File

@ -143,14 +143,17 @@ void KeyConfigPrefs::Populate()
RefreshBindings();
if (mViewByTree->GetValue()) {
mView->SetView(ViewByTree);
mViewType = ViewByTree;
}
else if (mViewByName->GetValue()) {
mView->SetView(ViewByName);
mViewType = ViewByName;
}
else if (mViewByKey->GetValue()) {
mView->SetView(ViewByKey);
mViewType = ViewByKey;
mFilterLabel->SetLabel(_("&Hotkey:"));
}
mView->SetView(mViewType);
}
/// Normally in classes derived from PrefsPanel this function