Mercurial > hg > svgui
diff widgets/PropertyBox.cpp @ 280:3c402c6052f6
* Pull peak-picker out of SpectrumLayer and into FFTModel; use combined
peak-picker and frequency estimator for SpectrogramLayer (makes the
peak frequency spectrogram a bit quicker)
* Add more information to spectrum and spectrogram crosshairs
author | Chris Cannam |
---|---|
date | Wed, 04 Jul 2007 15:29:16 +0000 |
parents | e6d0b097d102 |
children | 9dd432665059 |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Tue Jul 03 18:56:27 2007 +0000 +++ b/widgets/PropertyBox.cpp Wed Jul 04 15:29:16 2007 +0000 @@ -429,6 +429,9 @@ cb->setEditable(true); } cb->blockSignals(false); + if (cb->count() < 20 && cb->count() > cb->maxVisibleItems()) { + cb->setMaxVisibleItems(cb->count()); + } } if (!have) {