The attached patch is identical to that just submitted to the 1.4.x
tree. Please add it to you list of patches for 1.3.x, Jean-Marc.

If anyone can see what needs to be done to fix this in the Qt
frontend, then they're a better man than I.

A somewhat baffled,
Angus
Index: src/frontends/xforms/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.661.2.15
diff -u -p -r1.661.2.15 ChangeLog
--- src/frontends/xforms/ChangeLog	29 Apr 2004 15:57:11 -0000	1.661.2.15
+++ src/frontends/xforms/ChangeLog	4 May 2004 21:35:56 -0000
@@ -1,3 +1,8 @@
+2004-05-04  Angus Leeming  <[EMAIL PROTECTED]>
+
+	* FormRef.C (input): don't activate the Apply buttons when using
+	widgets that don't change the data.
+
 2004-04-29  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* FormBase.h (controller): gcc 3.4 compilation fix
Index: src/frontends/xforms/FormRef.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormRef.C,v
retrieving revision 1.62
diff -u -p -r1.62 FormRef.C
--- src/frontends/xforms/FormRef.C	27 Nov 2002 10:30:24 -0000	1.62
+++ src/frontends/xforms/FormRef.C	4 May 2004 21:35:57 -0000
@@ -258,6 +258,8 @@ ButtonPolicy::SMInput FormRef::input(FL_
 		updateBrowser(refs_);
 		fl_unfreeze_form(form());
 
+		activate = ButtonPolicy::SMI_NOOP;
+
 	} else if (ob == dialog_->choice_format) {
 
 		int const type = fl_get_choice(dialog_->choice_format) - 1;

Reply via email to