diff --git a/spectrogramcontrols.cpp b/spectrogramcontrols.cpp index a4b0f71..be3c761 100644 --- a/spectrogramcontrols.cpp +++ b/spectrogramcontrols.cpp @@ -74,6 +74,8 @@ SpectrogramControls::SpectrogramControls(const QString & title, QWidget * parent layout->addRow(new QLabel(tr("Enable cursors:")), cursorsCheckBox); cursorBitsSpinBox = new QSpinBox(); + cursorBitsSpinBox->setMinimum(1); + cursorBitsSpinBox->setMaximum(9999); layout->addRow(new QLabel(tr("Bits:")), cursorBitsSpinBox); timeSelectionFreqLabel = new QLabel();