List all exportable document formats in the Save As dialog, not only the selection from the export menu

This commit is contained in:
Juergen Spitzmueller 2013-11-15 08:56:13 +01:00
parent 1e365fe315
commit ab96df492a

View File

@ -2389,7 +2389,7 @@ bool GuiView::exportBufferAs(Buffer & b)
Formats::const_iterator it = formats.begin();
vector<Format const *> export_formats;
for (; it != formats.end(); ++it)
if (it->documentFormat() && it->inExportMenu())
if (it->documentFormat())
export_formats.push_back(&(*it));
PrettyNameComparator cmp;
sort(export_formats.begin(), export_formats.end(), cmp);