diff --git a/plugins/channel/chanalyzer/chanalyzergui.cpp b/plugins/channel/chanalyzer/chanalyzergui.cpp index 52bf0bb7f..1afb7fd4d 100644 --- a/plugins/channel/chanalyzer/chanalyzergui.cpp +++ b/plugins/channel/chanalyzer/chanalyzergui.cpp @@ -302,7 +302,7 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI() bool ChannelAnalyzerGUI::setNewRate(int spanLog2) { - if ((spanLog2 < 1) || (spanLog2 > 6)) { + if ((spanLog2 < 0) || (spanLog2 > 6)) { return false; } diff --git a/plugins/channel/chanalyzer/chanalyzergui.ui b/plugins/channel/chanalyzer/chanalyzergui.ui index c6bf26f9a..ad6b10c93 100644 --- a/plugins/channel/chanalyzer/chanalyzergui.ui +++ b/plugins/channel/chanalyzer/chanalyzergui.ui @@ -262,7 +262,7 @@ - 1 + 0 6