mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Remove obsolete formats from file dialog
It is confusing for the users to see the formats 1.3--1.6 in the file-open dialog and not the 2.0 format. The exotic extensions were only used when e.g., LyX 1.6.x exported to LyX 1.5.x format.
This commit is contained in:
parent
3fb7394db8
commit
130c375174
@ -1951,11 +1951,7 @@ void GuiView::openDocument(string const & fname)
|
|||||||
dlg.setButton2(qt_("Examples|#E#e"),
|
dlg.setButton2(qt_("Examples|#E#e"),
|
||||||
toqstr(addPath(package().system_support().absFileName(), "examples")));
|
toqstr(addPath(package().system_support().absFileName(), "examples")));
|
||||||
|
|
||||||
QStringList filter(qt_("LyX Documents (*.lyx)"));
|
QStringList const filter(qt_("LyX Documents (*.lyx)"));
|
||||||
filter << qt_("LyX-1.3.x Documents (*.lyx13)")
|
|
||||||
<< qt_("LyX-1.4.x Documents (*.lyx14)")
|
|
||||||
<< qt_("LyX-1.5.x Documents (*.lyx15)")
|
|
||||||
<< qt_("LyX-1.6.x Documents (*.lyx16)");
|
|
||||||
FileDialog::Result result =
|
FileDialog::Result result =
|
||||||
dlg.open(toqstr(initpath), filter);
|
dlg.open(toqstr(initpath), filter);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user