Fix export menu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1622 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-02-26 11:18:42 +00:00
parent 77abc2794d
commit b6cff00278
2 changed files with 4 additions and 3 deletions

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

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