From 8513c73f0b8e5120a1f572d72faff76ef213c2e3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 30 Jan 2003 13:27:00 +0000 Subject: [PATCH] fix export>custom git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6008 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 13 +++++++++---- src/lyxfunc.C | 3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 77ed7ce57c..571c7826e0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,9 +1,14 @@ +2003-01-28 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): "buffer-export custom" should never be + disabled. + 2003-01-20 Michael Schmitt - * 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 diff --git a/src/lyxfunc.C b/src/lyxfunc.C index df11e09024..bd5310b809 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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(); -- 2.39.5