mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
CMenuWidget: try to fix possible overlength of details line
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
committed by
M. Liebmann
parent
4cded5afb6
commit
5a338357fc
@@ -812,6 +812,10 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
|||||||
if (titem->isSelectable()) {
|
if (titem->isSelectable()) {
|
||||||
items[selected]->paint( false );
|
items[selected]->paint( false );
|
||||||
selected= i;
|
selected= i;
|
||||||
|
if (selected > page_start[current_page + 1] || selected < page_start[current_page]) {
|
||||||
|
/* different page */
|
||||||
|
paintItems();
|
||||||
|
}
|
||||||
paintHint(selected);
|
paintHint(selected);
|
||||||
pos = selected;
|
pos = selected;
|
||||||
if (titem->directKeyOK)
|
if (titem->directKeyOK)
|
||||||
|
Reference in New Issue
Block a user