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);