From ca24c5be5b41f22c1f8a0c6a71b99b2491acd020 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 6 Oct 2012 17:46:10 +0200 Subject: [PATCH] actions: fix modifying player state string after interface toggle --- src/actions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/actions.cpp b/src/actions.cpp index 4a8bcc92..c4bd5fee 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -213,8 +213,7 @@ void Action::ResizeScreen(bool reload_main_window) applyToVisibleWindows(&BaseScreen::refresh); Status::Changes::elapsedTime(); - if (!Mpd.isPlaying()) - Status::Changes::playerState(); + Status::Changes::playerState(); // Note: routines for drawing separator if alternative user // interface is active and header is hidden are placed in // NcmpcppStatusChanges.StatusFlags