mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 17:40:51 +02:00
bug 1851 Remove selection before Timer Record
This commit is contained in:
parent
f1ab2db9bb
commit
5c4b2249fd
@ -8321,6 +8321,15 @@ void AudacityProject::OnTimerRecord(const CommandContext &WXUNUSED(context) )
|
||||
}
|
||||
else
|
||||
{
|
||||
// Timer Record should not record into a selection.
|
||||
bool bPreferNewTrack;
|
||||
gPrefs->Read("/GUI/PreferNewTrackRecord",&bPreferNewTrack, false);
|
||||
if (bPreferNewTrack) {
|
||||
Rewind(false);
|
||||
} else {
|
||||
SkipEnd(false);
|
||||
}
|
||||
|
||||
int iTimerRecordingOutcome = dialog.RunWaitDialog();
|
||||
switch (iTimerRecordingOutcome) {
|
||||
case POST_TIMER_RECORD_CANCEL_WAIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user