mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-06 07:29:07 +02:00
Bug 2382 - Timer record: if a labels are present recording starts at last label position - not cursor position
This commit is contained in:
parent
3653f5f3bf
commit
b68c417d8e
@ -299,6 +299,9 @@ void OnTimerRecord(const CommandContext &context)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Bug #2382
|
||||||
|
// Allow recording to start at current cursor position.
|
||||||
|
#if 0
|
||||||
// Timer Record should not record into a selection.
|
// Timer Record should not record into a selection.
|
||||||
bool bPreferNewTrack;
|
bool bPreferNewTrack;
|
||||||
gPrefs->Read("/GUI/PreferNewTrackRecord",&bPreferNewTrack, false);
|
gPrefs->Read("/GUI/PreferNewTrackRecord",&bPreferNewTrack, false);
|
||||||
@ -307,6 +310,7 @@ void OnTimerRecord(const CommandContext &context)
|
|||||||
} else {
|
} else {
|
||||||
window.SkipEnd(false);
|
window.SkipEnd(false);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int iTimerRecordingOutcome = dialog.RunWaitDialog();
|
int iTimerRecordingOutcome = dialog.RunWaitDialog();
|
||||||
switch (iTimerRecordingOutcome) {
|
switch (iTimerRecordingOutcome) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user