From e9b5111e4f3028ebcb09d56fadf002c459d2d106 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 15 Mar 2021 23:51:54 +0100 Subject: [PATCH] hintbox: fix hardcoded keys Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fbbdf0c29b466e87ee3b4d4df43a89c00c6b768c Author: vanhofen Date: 2021-03-15 (Mon, 15 Mar 2021) Origin message was: ------------------ - hintbox: fix hardcoded keys ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/hintbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/hintbox.cpp b/src/gui/widget/hintbox.cpp index c74905471..59768df4d 100644 --- a/src/gui/widget/hintbox.cpp +++ b/src/gui/widget/hintbox.cpp @@ -288,7 +288,7 @@ int CHintBox::exec() res = messages_return::handled; break; } - else if((msg == CRCInput::RC_next) || (msg == CRCInput::RC_prev)) { + else if ((msg == (neutrino_msg_t) g_settings.key_next43mode) || (msg == (neutrino_msg_t) g_settings.key_switchformat)) { res = messages_return::cancel_all; g_RCInput->postMsg(msg, data); }