menuitemtextinput onhoveraction bug fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7207 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -526,6 +526,8 @@ struct mitemtextinput : mitemtext
|
||||
|
||||
virtual void focus(bool on)
|
||||
{
|
||||
if(on && hoveraction) execute(hoveraction);
|
||||
|
||||
SDL_EnableUNICODE(on);
|
||||
if(!strlen(input.buf)) setdefaultvalue();
|
||||
if(action && !on && modified)
|
||||
|
||||
Reference in New Issue
Block a user