CChannelList: remove details line on changing pages

details line was not completely killed changed page.
This commit is contained in:
2013-03-21 11:38:40 +01:00
parent 6b68259ac6
commit 407d9fe800

View File

@@ -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();