mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 15:23:52 +02:00
Make changes to Change Tempo dialog during preview work as intended...
... See commitsb22f6b59d2and19fa6d2833
This commit is contained in:
@@ -2345,6 +2345,10 @@ void Effect::Preview(bool dryOnly)
|
|||||||
End();
|
End();
|
||||||
GuardedCall( [&]{ Init(); } );
|
GuardedCall( [&]{ Init(); } );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// In case any dialog control depends on mT1 or mDuration:
|
||||||
|
if ( mUIDialog )
|
||||||
|
mUIDialog->TransferDataToWindow();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
auto vr0 = valueRestorer( mT0 );
|
auto vr0 = valueRestorer( mT0 );
|
||||||
@@ -2353,6 +2357,11 @@ void Effect::Preview(bool dryOnly)
|
|||||||
if (!mPreviewFullSelection)
|
if (!mPreviewFullSelection)
|
||||||
mT1 = t1;
|
mT1 = t1;
|
||||||
|
|
||||||
|
// In case any dialog control depends on mT1 or mDuration:
|
||||||
|
if ( mUIDialog ) {
|
||||||
|
mUIDialog->TransferDataToWindow();
|
||||||
|
}
|
||||||
|
|
||||||
// Save the original track list
|
// Save the original track list
|
||||||
TrackList *saveTracks = mTracks;
|
TrackList *saveTracks = mTracks;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user