fix export>custom

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-01-30 13:27:00 +00:00
parent cd6377fc28
commit 8513c73f0b
2 changed files with 11 additions and 5 deletions

View 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>

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