From fe6106f22258f4d3109a301efb6ed397b13ad2b5 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 30 May 2010 00:05:19 +0200 Subject: [PATCH] outputs: update list after changing output if idle mode is not active --- src/outputs.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/outputs.cpp b/src/outputs.cpp index a7096c9..2217185 100644 --- a/src/outputs.cpp +++ b/src/outputs.cpp @@ -86,6 +86,8 @@ void Outputs::EnterPressed() if (Mpd.EnableOutput(w->Choice())) ShowMessage("Output \"%s\" enabled", w->Current().first.c_str()); } + if (!Mpd.SupportsIdle()) + FetchList(); } void Outputs::MouseButtonPressed(MEVENT me) -- 1.7.1