1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 08:59:28 +02:00

Revert another piece of the navigation to ruler by arrow keys

This commit is contained in:
Paul Licameli 2016-05-11 22:54:55 -04:00
parent f93dd21302
commit 6ab33f8fe5

View File

@ -2161,11 +2161,9 @@ void AudacityProject::OnActivate(wxActivateEvent & event)
mLastFocusedWindow->SetFocus();
}
else {
if (mTrackPanel->GetFocusedTrack()) {
if (mTrackPanel) {
mTrackPanel->SetFocus();
}
else
mRuler->SetFocus();
}
// No longer need to remember the last focused window
mLastFocusedWindow = NULL;