mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
timerlist: fix display of gui-rests when adding a new remotebox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4d5ab9755f
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-22 (Sun, 22 Jul 2018)
Origin message was:
------------------
- timerlist: fix display of gui-rests when adding a new remotebox
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -324,8 +324,10 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
rbsetup->enableSaveScreen(true);
|
||||
if ((rbsetup->exec(NULL,"") == true) && (!rbaddress.empty()))
|
||||
{
|
||||
remboxmenu->addItem(new CMenuForwarder(rbname, true, NULL, this, "cha_ip"));
|
||||
remboxmenu->hide();
|
||||
remboxmenu->enableSaveScreen(false);
|
||||
remboxmenu->addItem(new CMenuForwarder(rbname, true, NULL, this, "cha_ip"));
|
||||
remboxmenu->enableSaveScreen(true);
|
||||
timer_remotebox_item timer_rb;
|
||||
timer_rb.rbaddress = rbaddress;
|
||||
if (!timer_rb.rbaddress.empty())
|
||||
@@ -348,9 +350,10 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
bselected = remboxmenu->getSelected();
|
||||
if (bselected >= item_offset)
|
||||
{
|
||||
remboxmenu->removeItem(bselected);
|
||||
remboxmenu->enableSaveScreen(false);
|
||||
remboxmenu->hide();
|
||||
remboxmenu->enableSaveScreen(false);
|
||||
remboxmenu->removeItem(bselected);
|
||||
remboxmenu->enableSaveScreen(true);
|
||||
bselected = remboxmenu->getSelected();
|
||||
changed = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user