mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- stringinput: Change value string only if OK was pressed
This commit is contained in:
committed by
svenhoefer
parent
1d3ec8c7af
commit
e9be248b29
@@ -522,7 +522,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
||||
}
|
||||
value[size]=0;
|
||||
|
||||
if (valueString != NULL)
|
||||
if ( (valueString != NULL) && (msg == CRCInput::RC_ok) )
|
||||
{
|
||||
*valueString = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user