]> git.lyx.org Git - features.git/commitdiff
Fix export menu
authorDekel Tsur <dekelts@tau.ac.il>
Mon, 26 Feb 2001 11:18:42 +0000 (11:18 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Mon, 26 Feb 2001 11:18:42 +0000 (11:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1622 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C

index 52f9a0da21fb2b6be995ae571e17c0ae658fdd7f..365bc5c14aeb812d2ba958f8c16cf6fe775b22b8 100644 (file)
@@ -1,5 +1,7 @@
 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
 
+       * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
+
        * text2.C (SetCurrentFont): Disable number property at boundary.
 
 2001-02-26  Juergen Vigna  <jug@sad.it>
index 9707d8737b8bfec5e60c4bf6fc680fb59e3c2742..14f7197207e512df945f07cd6117e023ed057cb1 100644 (file)
@@ -390,9 +390,8 @@ LyXFunc::func_status LyXFunc::getStatus(int ac, string const & not_to_use_arg) c
                        || lyxrc.print_command == "none";
                break;
        case LFUN_EXPORT:
-               disable = (argument != "custom") ||
-                   (argument == "fax" &&
-                    !Exporter::IsExportable(buf, argument));
+               disable = argument == "fax" &&
+                       !Exporter::IsExportable(buf, argument);
                break;
        case LFUN_UNDO:
                disable = buf->undostack.empty();