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:
parent
10f2be1bce
commit
aa5342147e
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user