From aa5342147edff0c79da964c92ab1ac7e587a91c3 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 23 May 2013 14:08:47 -0700 Subject: [PATCH] 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. --- src/kc/kcApp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kc/kcApp.cpp b/src/kc/kcApp.cpp index fe6f804..fb494ae 100644 --- a/src/kc/kcApp.cpp +++ b/src/kc/kcApp.cpp @@ -602,6 +602,7 @@ void kcApp::_createText( const cmDspUiHdr_t* m ) 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->when(FL_WHEN_RELEASE | FL_WHEN_ENTER_KEY | FL_WHEN_NOT_CHANGED); _insertNewCtl(cp, m, cp->u.text.text, cp->u.text.varIdArray, kTextVarCnt ); }