mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CTimerList: Use enableSaveScreen() for CIPInput
Origin commit data
------------------
Branch: ni/coolstream
Commit: a132969547
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-10-26 (Wed, 26 Oct 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -296,6 +296,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
if(actionKey == "add_ip") {
|
||||
std::string remoteip;
|
||||
CIPInput remotebox_NetworkIP(LOCALE_REMOTEBOX_IP , &remoteip);
|
||||
remotebox_NetworkIP.enableSaveScreen(true);
|
||||
if ((remotebox_NetworkIP.exec(NULL,"") == true) && (!remoteip.empty())) {
|
||||
remboxmenu->addItem(new CMenuForwarder(remoteip, true, NULL, this, "cha_ip"));
|
||||
remotebox_NetworkIP.hide();
|
||||
@@ -321,6 +322,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
CMenuForwarder *f = static_cast<CMenuForwarder*>(item);
|
||||
std::string remoteip = f->getName();
|
||||
CIPInput remotebox_NetworkIP(LOCALE_REMOTEBOX_IP , &remoteip);
|
||||
remotebox_NetworkIP.enableSaveScreen(true);
|
||||
if (remotebox_NetworkIP.exec(NULL,"") == true) {
|
||||
f->setName(remoteip);
|
||||
remotebox_NetworkIP.hide();
|
||||
|
Reference in New Issue
Block a user