]> git.lyx.org Git - features.git/commitdiff
fix export>custom
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 30 Jan 2003 13:27:00 +0000 (13:27 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 30 Jan 2003 13:27:00 +0000 (13:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6008 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C

index 77ed7ce57c2cadbf2d8b5de7e1f2f8d71c242c63..571c7826e0001082a4f4c59b52459aaf47148748 100644 (file)
@@ -1,9 +1,14 @@
+2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): "buffer-export custom" should never be
+       disabled. 
+
 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
 
-        * 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  <Michael.Schmitt@teststep.org>
 
index df11e09024ccad5b34af39db75f6cfe47880216d..bd5310b8091affbfb092e71722bb9162fd8acead 100644 (file)
@@ -327,7 +327,8 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
                        || 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();