mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +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>
|
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.
|
* text2.C (SetCurrentFont): Disable number property at boundary.
|
||||||
|
|
||||||
2001-02-26 Juergen Vigna <jug@sad.it>
|
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";
|
|| lyxrc.print_command == "none";
|
||||||
break;
|
break;
|
||||||
case LFUN_EXPORT:
|
case LFUN_EXPORT:
|
||||||
disable = (argument != "custom") ||
|
disable = argument == "fax" &&
|
||||||
(argument == "fax" &&
|
!Exporter::IsExportable(buf, argument);
|
||||||
!Exporter::IsExportable(buf, argument));
|
|
||||||
break;
|
break;
|
||||||
case LFUN_UNDO:
|
case LFUN_UNDO:
|
||||||
disable = buf->undostack.empty();
|
disable = buf->undostack.empty();
|
||||||
|
Loading…
Reference in New Issue
Block a user