mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Bug 2278 - Changes in Spectrogram Settings dialog change Multi-view to a 100:0 Spectrogram
Fix needs to be reviewed by Paul in case the code I commented out actually IS needed.
This commit is contained in:
@@ -474,11 +474,16 @@ void SpectrumPrefs::Preview()
|
|||||||
}
|
}
|
||||||
mTempSettings.ConvertToEnumeratedWindowSizes();
|
mTempSettings.ConvertToEnumeratedWindowSizes();
|
||||||
|
|
||||||
|
// Bug 2278
|
||||||
|
// This code destroys any Multi-view we had.
|
||||||
|
// Commenting it out as it seems not to be needed.
|
||||||
|
/*
|
||||||
if (mWt && isOpenPage) {
|
if (mWt && isOpenPage) {
|
||||||
for (auto channel : TrackList::Channels(mWt))
|
for (auto channel : TrackList::Channels(mWt))
|
||||||
WaveTrackView::Get( *channel )
|
WaveTrackView::Get( *channel )
|
||||||
.SetDisplay( WaveTrackViewConstants::Spectrum );
|
.SetDisplay( WaveTrackViewConstants::Spectrum );
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (isOpenPage) {
|
if (isOpenPage) {
|
||||||
if ( mProject ) {
|
if ( mProject ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user