mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-04 07:40:12 +01:00
Persist looped button across toolbar resets...
...when started from the keyboard.
This commit is contained in:
@@ -424,6 +424,8 @@ void ControlToolBar::SetPlay(bool down, bool looped, bool cutPreview)
|
||||
{
|
||||
AudacityProject *p = GetActiveProject();
|
||||
if (down) {
|
||||
mPlay->SetShift(looped);
|
||||
mPlay->SetControl(cutPreview);
|
||||
mPlay->SetAlternateIdx(cutPreview ? 2 : looped ? 1 : 0);
|
||||
mPlay->PushDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user