From d882ac466b54a24543ad9218f34aa8e257a1079f Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Mon, 24 Nov 2014 16:10:19 -0500 Subject: [PATCH] 2014-11-24 Fred Gleason * Fixed a bug in 'lib/rdsound_panel.cpp that caused action mode colors be cleared prematurely [GitHub issue #000038]. --- ChangeLog | 3 +++ lib/rdsound_panel.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 08b4b368..407670d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14662,3 +14662,6 @@ 2014-11-24 Fred Gleason * Fixed a regression in 'rdairplay/log_traffic.cpp' that broke when writing ELR data to a service with a space in its name. +2014-11-24 Fred Gleason + * Fixed a bug in 'lib/rdsound_panel.cpp that caused action mode colors + be cleared prematurely [GitHub issue #000038]. diff --git a/lib/rdsound_panel.cpp b/lib/rdsound_panel.cpp index a74bdb36..d3ba9f95 100644 --- a/lib/rdsound_panel.cpp +++ b/lib/rdsound_panel.cpp @@ -886,7 +886,9 @@ void RDSoundPanel::onairFlagChangedData(bool state) void RDSoundPanel::scanPanelData() { - LoadPanel(panel_type,panel_number); + if(panel_action_mode==RDAirPlayConf::Normal) { + LoadPanel(panel_type,panel_number); + } }