mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
update: shorten updates lists in menu separators
Origin commit data
------------------
Commit: 4f24476b49
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-06 (Sat, 06 Jan 2018)
Origin message was:
------------------
- update: shorten updates lists in menu separators
This commit is contained in:
@@ -309,7 +309,9 @@ bool CFlashUpdate::selectHttpImage(void)
|
||||
//NI
|
||||
if (!separator)
|
||||
{
|
||||
SelectionWidget.addItem(new CMenuSeparator(CMenuSeparator::STRING | CMenuSeparator::LINE, updates_lists.rbegin()->c_str()));
|
||||
std::string updates_list = updates_lists.rbegin()->c_str();
|
||||
updates_list = updates_list.substr(0, updates_list.find("?", 0)); // truncate updates list
|
||||
SelectionWidget.addItem(new CMenuSeparator(CMenuSeparator::STRING | CMenuSeparator::LINE, updates_list));
|
||||
separator = true;
|
||||
}
|
||||
CUpdateMenuTarget * up = new CUpdateMenuTarget(i, &selected);
|
||||
|
Reference in New Issue
Block a user