mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
stringinput: Change value string only if OK was pressed
Origin commit data
------------------
Branch: ni/coolstream
Commit: e9be248b29
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Origin message was:
------------------
- stringinput: Change value string only if OK was pressed
------------------
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
bd7470c9b2
commit
a9f059c05d
@@ -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