kcApp.cpp:Text box UI widgets now have FL_WHEN_RELEASE|ENTER_KEY|NOT_CHANGED set. Prior to this none of these flags were set.

This commit is contained in:
kevin 2013-05-23 14:08:47 -07:00
parent 10f2be1bce
commit aa5342147e

View File

@ -602,6 +602,7 @@ void kcApp::_createText( const cmDspUiHdr_t* m )
ctl_t* cp = _createCtl(m, kTextTypeId, x,y,w,h ); ctl_t* cp = _createCtl(m, kTextTypeId, x,y,w,h );
cp->u.text.text = new Fl_Input(x,y,w,h); cp->u.text.text = new Fl_Input(x,y,w,h);
cp->u.text.text->when(FL_WHEN_RELEASE | FL_WHEN_ENTER_KEY | FL_WHEN_NOT_CHANGED);
_insertNewCtl(cp, m, cp->u.text.text, cp->u.text.varIdArray, kTextVarCnt ); _insertNewCtl(cp, m, cp->u.text.text, cp->u.text.varIdArray, kTextVarCnt );
} }