mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-04 20:28:29 +02:00
widget/stringinput: fix compare
Origin commit data
------------------
Commit: a0f0df7f17
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-24 (Sat, 24 Dec 2016)
This commit is contained in:
@@ -267,7 +267,7 @@ int CExtendedInput::exec( CMenuTarget* parent, const std::string & )
|
||||
}
|
||||
else if ( (msg==CRCInput::RC_home) || (msg==CRCInput::RC_timeout) )
|
||||
{
|
||||
if(*valueString != oldval){
|
||||
if (trim (*valueString) != oldval){
|
||||
int erg = ShowMsg(name, LOCALE_MESSAGEBOX_DISCARD, CMsgBox::mbrYes, CMsgBox::mbNo | CMsgBox::mbYes | CMsgBox::mbCancel);
|
||||
if(erg==CMsgBox::mbrYes){
|
||||
*valueString = oldval;
|
||||
|
Reference in New Issue
Block a user