]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
update no.po
[lyx.git] / src / lyxfunc.C
index df11e09024ccad5b34af39db75f6cfe47880216d..bd5310b8091affbfb092e71722bb9162fd8acead 100644 (file)
@@ -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();