1
0
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:
James Crook
2020-01-09 16:20:48 +00:00
parent 57ff92b20c
commit 7f8905be8e

View File

@@ -474,11 +474,16 @@ void SpectrumPrefs::Preview()
}
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) {
for (auto channel : TrackList::Channels(mWt))
WaveTrackView::Get( *channel )
.SetDisplay( WaveTrackViewConstants::Spectrum );
}
*/
if (isOpenPage) {
if ( mProject ) {