diff --git a/plugins/samplesource/airspyhf/airspyhfgui.cpp b/plugins/samplesource/airspyhf/airspyhfgui.cpp
index cca64d59e..23f9e46b6 100644
--- a/plugins/samplesource/airspyhf/airspyhfgui.cpp
+++ b/plugins/samplesource/airspyhf/airspyhfgui.cpp
@@ -285,7 +285,7 @@ void AirspyHFGui::on_sampleRate_currentIndexChanged(int index)
void AirspyHFGui::on_decim_currentIndexChanged(int index)
{
- if ((index <0) || (index > 6))
+ if ((index < 0) || (index > 5))
return;
m_settings.m_log2Decim = index;
sendSettings();
diff --git a/plugins/samplesource/airspyhf/airspyhfgui.ui b/plugins/samplesource/airspyhf/airspyhfgui.ui
index 14e8c53e6..f08fe7d30 100644
--- a/plugins/samplesource/airspyhf/airspyhfgui.ui
+++ b/plugins/samplesource/airspyhf/airspyhfgui.ui
@@ -352,7 +352,7 @@
Decimation factor
- 3
+ 0
-
@@ -384,11 +384,6 @@
32
- -
-
- 64
-
-
-