mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/bouquetlist.cpp: dont repaint, if mode not changed
This commit is contained in:
@@ -363,21 +363,25 @@ int CBouquetList::show(bool bShowChannelList)
|
|||||||
loop=false;
|
loop=false;
|
||||||
}
|
}
|
||||||
else if(msg == CRCInput::RC_red || msg == CRCInput::RC_favorites) {
|
else if(msg == CRCInput::RC_red || msg == CRCInput::RC_favorites) {
|
||||||
|
if (CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_FAV) {
|
||||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_FAV);
|
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_FAV);
|
||||||
hide();
|
hide();
|
||||||
return -3;
|
return -3;
|
||||||
|
}
|
||||||
} else if(msg == CRCInput::RC_green) {
|
} else if(msg == CRCInput::RC_green) {
|
||||||
|
if (CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_PROV) {
|
||||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_PROV);
|
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_PROV);
|
||||||
hide();
|
hide();
|
||||||
return -3;
|
return -3;
|
||||||
|
}
|
||||||
} else if(msg == CRCInput::RC_yellow || msg == CRCInput::RC_sat) {
|
} else if(msg == CRCInput::RC_yellow || msg == CRCInput::RC_sat) {
|
||||||
if(bShowChannelList) {
|
if(bShowChannelList && CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_SAT) {
|
||||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_SAT);
|
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_SAT);
|
||||||
hide();
|
hide();
|
||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
} else if(msg == CRCInput::RC_blue) {
|
} else if(msg == CRCInput::RC_blue) {
|
||||||
if(bShowChannelList) {
|
if(bShowChannelList && CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_ALL) {
|
||||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_ALL);
|
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_ALL);
|
||||||
hide();
|
hide();
|
||||||
return -3;
|
return -3;
|
||||||
|
Reference in New Issue
Block a user