mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +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();
|
mLastFocusedWindow->SetFocus();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (mTrackPanel->GetFocusedTrack()) {
|
if (mTrackPanel) {
|
||||||
mTrackPanel->SetFocus();
|
mTrackPanel->SetFocus();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
mRuler->SetFocus();
|
|
||||||
}
|
}
|
||||||
// No longer need to remember the last focused window
|
// No longer need to remember the last focused window
|
||||||
mLastFocusedWindow = NULL;
|
mLastFocusedWindow = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user