mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
stringinput: Restore old value after input was cancelled in CExtendedInput
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad4f979b4b
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Origin message was:
------------------
- stringinput: Restore old value after input was cancelled in CExtendedInput
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
a9f059c05d
commit
43d4d0483c
@@ -268,7 +268,10 @@ int CExtendedInput::exec( CMenuTarget* parent, const std::string & )
|
||||
}
|
||||
else if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all )
|
||||
{
|
||||
loop = false;
|
||||
strcpy(value, oldval);
|
||||
loop=false;
|
||||
if(cancel != NULL)
|
||||
*cancel = true;
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user