mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
stringinput: Change value string only if OK was pressed
Origin commit data
------------------
Commit: e9be248b29
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Origin message was:
------------------
- stringinput: Change value string only if OK was pressed
This commit is contained in:
@@ -522,7 +522,7 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & )
|
|||||||
}
|
}
|
||||||
value[size]=0;
|
value[size]=0;
|
||||||
|
|
||||||
if (valueString != NULL)
|
if ( (valueString != NULL) && (msg == CRCInput::RC_ok) )
|
||||||
{
|
{
|
||||||
*valueString = value;
|
*valueString = value;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user