]> git.lyx.org Git - features.git/commitdiff
altering "Text after" now activates the Ok,Apply buttons
authorAngus Leeming <leeming@lyx.org>
Mon, 19 Feb 2001 14:01:23 +0000 (14:01 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 19 Feb 2001 14:01:23 +0000 (14:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1533 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormCitation.C

index ff44df0bbaa5ef9f2b7aa19836674fc95e962a7f..27a4ec595f3254170a1e602a9c4a6637f5395451 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * FormCitation.C (build): altering "Text after" now activates the Ok,
+       Apply buttons.
+
 2001-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * FormCitation.C: lots of white-space changes to make file consistent
index b1e4b15ee247f21ab41afb3ab6f4f36d4f788f27..7da7f348e0707cf51eebf39849ae484fc3cf65df 100644 (file)
@@ -83,6 +83,9 @@ void FormCitation::build()
        minw_ = form()->w;
        minh_ = form()->h;
 
+       fl_set_input_return(dialog_->input_after,  FL_RETURN_CHANGED);
+       fl_set_input_return(dialog_->input_before, FL_RETURN_CHANGED);
+
         // Manage the ok, apply, restore and cancel/close buttons
        bc_.setOK(dialog_->button_ok);
        bc_.setApply(dialog_->button_apply);