CMenuWidget: try to fix possible overlength of details line

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
Jacek Jendrzej
2016-01-25 15:53:26 +01:00
committed by M. Liebmann
parent 4cded5afb6
commit 5a338357fc

View File

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