From b0a765d67a5124c9dc72a0f23ae9522d5b741c9f Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 17 May 2017 21:41:57 +0200 Subject: [PATCH] ValueDialZ: fixed digit selection overlay --- sdrbase/gui/valuedialz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }