From 2b41ba94ff7d5c050364f89a5a4e95a2602846c4 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 17 Apr 2017 10:23:09 +0200 Subject: [PATCH] Update opentxsimulator.cpp --- radio/src/targets/simu/opentxsimulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/targets/simu/opentxsimulator.cpp b/radio/src/targets/simu/opentxsimulator.cpp index 97ca3efc0..16c8566ee 100644 --- a/radio/src/targets/simu/opentxsimulator.cpp +++ b/radio/src/targets/simu/opentxsimulator.cpp @@ -285,8 +285,8 @@ void OpenTxSimulator::rotaryEncoderEvent(int steps) else if (steps < 0) key = KEY_PLUS; else - // Should not happen but Clang complains that key is unset otherwise - return; + // Should not happen but Clang complains that key is unset otherwise + return; setKey(key, 1); #if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))