mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- stringinput: Restore old value after input was cancelled in CExtendedInput
This commit is contained in:
committed by
svenhoefer
parent
e9be248b29
commit
ad4f979b4b
@@ -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 )
|
||||||
{
|
{
|
||||||
loop = false;
|
strcpy(value, oldval);
|
||||||
|
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