2. try to fix mute icon hide from lua menu and movieplayer, please teste

Origin commit data
------------------
Branch: ni/coolstream
Commit: e4c3496423
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-04-04 (Thu, 04 Apr 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-04-04 17:22:24 +02:00
committed by vanhofen
parent f2797d33a6
commit 1785b1a009

View File

@@ -123,12 +123,12 @@ void CAudioMute::enableMuteIcon(bool enable)
frameBuffer->fbNoCheck(true);
if (enable) {
frameBuffer->doPaintMuteIcon(true);
do_paint_mute_icon = true;
if (neutrino->isMuted())
if (!do_paint_mute_icon && neutrino->isMuted())
this->paint();
do_paint_mute_icon = true;
}
else {
if (!neutrino->isMuted())
if (do_paint_mute_icon && !neutrino->isMuted())
this->kill();
frameBuffer->doPaintMuteIcon(false);
do_paint_mute_icon = false;