mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CMenuWidget: try to fix possible overlength of details line
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a338357fc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-01-25 (Mon, 25 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
979f02de64
commit
579cabe970
@@ -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