From: Dekel Tsur Date: Mon, 26 Feb 2001 11:18:42 +0000 (+0000) Subject: Fix export menu X-Git-Tag: 1.6.10~21563 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b6cff00278b39b93c6e7f5e27482b5d5946e2a31;p=features.git Fix export menu git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1622 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 52f9a0da21..365bc5c14a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-02-26 Dekel Tsur + * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case. + * text2.C (SetCurrentFont): Disable number property at boundary. 2001-02-26 Juergen Vigna diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 9707d8737b..14f7197207 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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();