mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CChannelList::show() call hide only once
This commit is contained in:
@@ -601,6 +601,7 @@ int CChannelList::show()
|
|||||||
|
|
||||||
bool bouquet_changed = false;
|
bool bouquet_changed = false;
|
||||||
bool loop=true;
|
bool loop=true;
|
||||||
|
bool dont_hide = false;
|
||||||
while (loop) {
|
while (loop) {
|
||||||
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd, true);
|
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd, true);
|
||||||
if ( msg <= CRCInput::RC_MaxRC )
|
if ( msg <= CRCInput::RC_MaxRC )
|
||||||
@@ -770,6 +771,7 @@ int CChannelList::show()
|
|||||||
res = bouquetList->showChannelList();
|
res = bouquetList->showChannelList();
|
||||||
loop = false;
|
loop = false;
|
||||||
}
|
}
|
||||||
|
dont_hide = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( msg == CRCInput::RC_ok ) {
|
else if ( msg == CRCInput::RC_ok ) {
|
||||||
@@ -927,10 +929,10 @@ int CChannelList::show()
|
|||||||
|
|
||||||
if (bouquet_changed)
|
if (bouquet_changed)
|
||||||
res = -5; /* in neutrino.cpp: -5 == "don't change bouquet after adding a channel to fav" */
|
res = -5; /* in neutrino.cpp: -5 == "don't change bouquet after adding a channel to fav" */
|
||||||
|
if(!dont_hide){
|
||||||
hide();
|
hide();
|
||||||
|
fader.Stop();
|
||||||
fader.Stop();
|
}
|
||||||
|
|
||||||
if (bShowBouquetList) {
|
if (bShowBouquetList) {
|
||||||
res = bouquetList->exec(true);
|
res = bouquetList->exec(true);
|
||||||
|
Reference in New Issue
Block a user