>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> the menu item is greyed out in recent cvs (qt). Regards,
Juergen> Jürgen.

The following patch fixes this.

Lars?

JMarc

? config.h.in
? src/cheaders/cwchar
? src/cheaders/cwctype
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.1018
diff -u -p -r1.1018 ChangeLog
--- src/ChangeLog	23 Jan 2003 16:23:36 -0000	1.1018
+++ src/ChangeLog	28 Jan 2003 16:59:59 -0000
@@ -1,9 +1,14 @@
+2003-01-28  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* lyxfunc.C (getStatus): "buffer-export custom" should never be
+	disabled. 
+
 2003-01-20  Michael Schmitt <[EMAIL PROTECTED]>
 
-        * bufferview.C:
-        * lyxcb.C:
-        * lyxfunc.C: Output messages with identical spelling, punctuation,
-        and spaces
+	* bufferview.C:
+	* lyxcb.C:
+	* lyxfunc.C: Output messages with identical spelling, punctuation,
+	and spaces
 
 2003-01-22  Michael Schmitt  <[EMAIL PROTECTED]>
 
Index: src/lyxfunc.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.393
diff -u -p -r1.393 lyxfunc.C
--- src/lyxfunc.C	23 Jan 2003 16:23:38 -0000	1.393
+++ src/lyxfunc.C	28 Jan 2003 16:59:59 -0000
@@ -327,7 +327,8 @@ FuncStatus LyXFunc::getStatus(FuncReques
 			|| lyxrc.print_command == "none";
 		break;
 	case LFUN_EXPORT:
-		disable = !Exporter::IsExportable(buf, ev.argument);
+		disable = ev.argument != "custom"
+			&& !Exporter::IsExportable(buf, ev.argument);
 		break;
 	case LFUN_UNDO:
 		disable = buf->undostack.empty();

Reply via email to