mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +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 )
|
else if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all )
|
||||||
{
|
{
|
||||||
|
strcpy(value, oldval);
|
||||||
loop=false;
|
loop=false;
|
||||||
|
if(cancel != NULL)
|
||||||
|
*cancel = true;
|
||||||
res = menu_return::RETURN_EXIT_ALL;
|
res = menu_return::RETURN_EXIT_ALL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user