1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +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(); RefreshBindings();
if (mViewByTree->GetValue()) { if (mViewByTree->GetValue()) {
mView->SetView(ViewByTree); mViewType = ViewByTree;
} }
else if (mViewByName->GetValue()) { else if (mViewByName->GetValue()) {
mView->SetView(ViewByName); mViewType = ViewByName;
} }
else if (mViewByKey->GetValue()) { else if (mViewByKey->GetValue()) {
mView->SetView(ViewByKey); mViewType = ViewByKey;
mFilterLabel->SetLabel(_("&Hotkey:"));
} }
mView->SetView(mViewType);
} }
/// Normally in classes derived from PrefsPanel this function /// Normally in classes derived from PrefsPanel this function