mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
List all exportable document formats in the Save As dialog, not only the selection from the export menu
This commit is contained in:
parent
1e365fe315
commit
ab96df492a
@ -2389,7 +2389,7 @@ bool GuiView::exportBufferAs(Buffer & b)
|
|||||||
Formats::const_iterator it = formats.begin();
|
Formats::const_iterator it = formats.begin();
|
||||||
vector<Format const *> export_formats;
|
vector<Format const *> export_formats;
|
||||||
for (; it != formats.end(); ++it)
|
for (; it != formats.end(); ++it)
|
||||||
if (it->documentFormat() && it->inExportMenu())
|
if (it->documentFormat())
|
||||||
export_formats.push_back(&(*it));
|
export_formats.push_back(&(*it));
|
||||||
PrettyNameComparator cmp;
|
PrettyNameComparator cmp;
|
||||||
sort(export_formats.begin(), export_formats.end(), cmp);
|
sort(export_formats.begin(), export_formats.end(), cmp);
|
||||||
|
Loading…
Reference in New Issue
Block a user