mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +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()) {
|
||||
items[selected]->paint( false );
|
||||
selected= i;
|
||||
if (selected > page_start[current_page + 1] || selected < page_start[current_page]) {
|
||||
/* different page */
|
||||
paintItems();
|
||||
}
|
||||
paintHint(selected);
|
||||
pos = selected;
|
||||
if (titem->directKeyOK)
|
||||
|
Reference in New Issue
Block a user