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;
|
||||
}
|
||||
else if(msg == CRCInput::RC_red || msg == CRCInput::RC_favorites) {
|
||||
if (CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_FAV) {
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_FAV);
|
||||
hide();
|
||||
return -3;
|
||||
}
|
||||
} else if(msg == CRCInput::RC_green) {
|
||||
if (CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_PROV) {
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_PROV);
|
||||
hide();
|
||||
return -3;
|
||||
}
|
||||
} 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);
|
||||
hide();
|
||||
return -3;
|
||||
}
|
||||
} else if(msg == CRCInput::RC_blue) {
|
||||
if(bShowChannelList) {
|
||||
if(bShowChannelList && CNeutrinoApp::getInstance()->GetChannelMode() != LIST_MODE_ALL) {
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(LIST_MODE_ALL);
|
||||
hide();
|
||||
return -3;
|
||||
|
Reference in New Issue
Block a user