From: Angus Leeming Date: Mon, 19 Feb 2001 14:01:23 +0000 (+0000) Subject: altering "Text after" now activates the Ok,Apply buttons X-Git-Tag: 1.6.10~21597 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f0c75a909e4e486be3822c636e5b97ad28802a05;p=features.git altering "Text after" now activates the Ok,Apply buttons git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1533 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index ff44df0bba..27a4ec595f 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2001-02-19 Angus Leeming + + * FormCitation.C (build): altering "Text after" now activates the Ok, + Apply buttons. + 2001-02-16 Angus Leeming * FormCitation.C: lots of white-space changes to make file consistent diff --git a/src/frontends/xforms/FormCitation.C b/src/frontends/xforms/FormCitation.C index b1e4b15ee2..7da7f348e0 100644 --- a/src/frontends/xforms/FormCitation.C +++ b/src/frontends/xforms/FormCitation.C @@ -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);