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:
parent
f93dd21302
commit
6ab33f8fe5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user