1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-28 00:00:18 +01:00

Bug 1633 - Spectral Selection Toolbar incorrect above 100 kHz

This commit is contained in:
James Crook
2017-04-16 22:15:48 +01:00
parent 80928bfe61
commit 24c2c6e070

View File

@@ -376,7 +376,13 @@ void SpectralSelectionBar::ValuesToControls()
mWidthCtrl->SetValue(mWidth);
}
else {
SetBounds();
//Bug 1633
//The controls may not be able to show mHigh, e.g.
//if set to Hz, and in that case we should either show invalid
//or 'do the best we can' and truncate.
//If we set bounds we instead clip to the mHigh to mLow,
//So no SetBounds, for now.
//SetBounds();
mLowCtrl->SetValue(mLow);
mHighCtrl->SetValue(mHigh);
}