diff --git a/sdrbase/gui/valuedialz.cpp b/sdrbase/gui/valuedialz.cpp index 6cb255826..e7f9513c5 100644 --- a/sdrbase/gui/valuedialz.cpp +++ b/sdrbase/gui/valuedialz.cpp @@ -358,7 +358,7 @@ void ValueDialZ::mouseMoveEvent(QMouseEvent* event) { i = -1; } - else if ((m_text[i] == QChar('+')) || (m_text[i] != QChar('-'))) + else if ((m_text[i] == QChar('+')) || (m_text[i] == QChar('-'))) { i = -1; }