mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
77abc2794d
commit
b6cff00278
@ -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>
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user