mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-01 22:53:50 +01:00
Revert another piece of the navigation to ruler by arrow keys
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user