Browse Source

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.

master
kevin 11 years ago
parent
commit
aa5342147e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/kc/kcApp.cpp

+ 1
- 0
src/kc/kcApp.cpp View File

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

Loading…
Cancel
Save