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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user