From c1a3f02dad6990a53687db7b63cd88b63ed867cc Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 27 Jan 2018 15:23:45 +0100 Subject: [PATCH] src/gui/audioplayer.cpp: add missing 'else' Comes in with picked commit 0d0553a639fea55e6b5232913e6113fbabc118a8 Original commit was noiseless deleted and its content was replaced. --- src/gui/audioplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 1d54809db..27392f319 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -449,7 +449,7 @@ int CAudioPlayerGui::show() if (m_state == CAudioPlayerGui::STOP) loop=false; } - if (msg == CRCInput::RC_stop) + else if (msg == CRCInput::RC_stop) { if (m_state != CAudioPlayerGui::STOP) stop();