mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 18:43:28 -05:00
Do not revert Filter Distance to the previous value when the cell is empty
This commit is contained in:
parent
cc0e0c0f28
commit
b909f5ebba
@ -52,6 +52,7 @@ MapItemSettingsGUI::MapItemSettingsGUI(QTableWidget *table, int row, MapSettings
|
||||
m_filterDistance->setValue(settings->m_filterDistance / 1000);
|
||||
m_filterDistance->setAlignment(Qt::AlignRight | Qt::AlignVCenter);
|
||||
m_filterDistance->setSpecialValueText(" ");
|
||||
m_filterDistance->setCorrectionMode(QAbstractSpinBox::CorrectToNearestValue);
|
||||
table->setCellWidget(row, MapSettingsDialog::COL_2D_MIN_ZOOM, m_minZoom);
|
||||
table->setCellWidget(row, MapSettingsDialog::COL_3D_MIN_PIXELS, m_minPixels);
|
||||
table->setCellWidget(row, MapSettingsDialog::COL_3D_LABEL_SCALE, m_labelScale);
|
||||
|
Loading…
Reference in New Issue
Block a user