mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Remove unnecessary line...
... This is a vestige of the time when "Waveform" and "Waveform dB" were considered separate wave track view types. But now that scale choice is independent of Waveform vs. Spectrogram choice, there is no possible change of scale type happening here, requiring invalidation of the vertical ruler.
This commit is contained in:
parent
daae080b17
commit
e5a7e6fb21
@ -766,7 +766,6 @@ void WaveTrackMenuTable::OnSetDisplay(wxCommandEvent & event)
|
||||
!(displays.size() == 1 && displays[0].id == id);
|
||||
if (wrongType) {
|
||||
for (auto channel : TrackList::Channels(pTrack)) {
|
||||
channel->SetLastScaleType();
|
||||
WaveTrackView::Get( *channel )
|
||||
.SetDisplay( WaveTrackView::Display{ id } );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user