X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMenuBackend.C;h=8ecdb4bad1394f0d52031fe6617d8016f4430e85;hb=414a11684e77aee713135ae65ec7438cfc4b162f;hp=89101d55e66943ca0ef604845eae7eea5bf32f96;hpb=409037f1bbc600bad048902cedc53471bf150465;p=lyx.git diff --git a/src/MenuBackend.C b/src/MenuBackend.C index 89101d55e6..8ecdb4bad1 100644 --- a/src/MenuBackend.C +++ b/src/MenuBackend.C @@ -517,6 +517,11 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, LyXView const * view) else if ((*fit)->name() == "textparagraph") label = _("Plain Text as Paragraphs"); label += "..."; + } else if (kind == MenuItem::ExportFormats) { + // exporting to LyX does not make sense + // FIXME: Introduce noexport flag + if ((*fit)->name() == "lyx") + continue; } if (!(*fit)->shortcut().empty()) label += '|' + (*fit)->shortcut();