mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CChannelList: remove details line on changing pages
details line was not completely killed changed page.
This commit is contained in:
@@ -740,6 +740,8 @@ int CChannelList::show()
|
|||||||
actzap = updateSelection(new_selected);
|
actzap = updateSelection(new_selected);
|
||||||
}
|
}
|
||||||
else if (msg == (neutrino_msg_t)g_settings.key_bouquet_up) {
|
else if (msg == (neutrino_msg_t)g_settings.key_bouquet_up) {
|
||||||
|
if (dline)
|
||||||
|
dline->kill(); //kill details line on change to next page
|
||||||
if (!bouquetList->Bouquets.empty()) {
|
if (!bouquetList->Bouquets.empty()) {
|
||||||
bool found = true;
|
bool found = true;
|
||||||
uint32_t nNext = (bouquetList->getActiveBouquetNumber()+1) % bouquetList->Bouquets.size();
|
uint32_t nNext = (bouquetList->getActiveBouquetNumber()+1) % bouquetList->Bouquets.size();
|
||||||
@@ -762,6 +764,8 @@ int CChannelList::show()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (msg == (neutrino_msg_t)g_settings.key_bouquet_down) {
|
else if (msg == (neutrino_msg_t)g_settings.key_bouquet_down) {
|
||||||
|
if (dline)
|
||||||
|
dline->kill(); //kill details line on change to previous page
|
||||||
if (!bouquetList->Bouquets.empty()) {
|
if (!bouquetList->Bouquets.empty()) {
|
||||||
bool found = true;
|
bool found = true;
|
||||||
int nNext = (bouquetList->getActiveBouquetNumber()+bouquetList->Bouquets.size()-1) % bouquetList->Bouquets.size();
|
int nNext = (bouquetList->getActiveBouquetNumber()+bouquetList->Bouquets.size()-1) % bouquetList->Bouquets.size();
|
||||||
|
Reference in New Issue
Block a user