mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
COPKGManager: fix selection of items on expert mode switch
Origin commit data
------------------
Commit: c3f66e6e06
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-22 (Fri, 22 May 2015)
This commit is contained in:
@@ -270,10 +270,13 @@ void COPKGManager::updateMenu()
|
|||||||
|
|
||||||
upgrade_forwarder->setActive(upgradesAvailable);
|
upgrade_forwarder->setActive(upgradesAvailable);
|
||||||
|
|
||||||
if (expert_mode)
|
if (expert_mode){
|
||||||
menu->setFooter(COPKGManagerFooterButtonsExpert, COPKGManagerFooterButtonCountExpert);
|
menu->setFooter(COPKGManagerFooterButtonsExpert, COPKGManagerFooterButtonCountExpert);
|
||||||
else
|
}
|
||||||
|
else{
|
||||||
|
menu->setSelected(2); //back-item
|
||||||
menu->setFooter(COPKGManagerFooterButtons, COPKGManagerFooterButtonCount);
|
menu->setFooter(COPKGManagerFooterButtons, COPKGManagerFooterButtonCount);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool COPKGManager::hasUpdates()
|
bool COPKGManager::hasUpdates()
|
||||||
|
Reference in New Issue
Block a user