* GuiView.cpp (insertPlaintextFile):

- set a proper file filter in the file dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28045 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-01-09 07:35:20 +00:00
parent c1ca2b89fb
commit 56f22a330e

View File

@ -1705,7 +1705,7 @@ void GuiView::insertPlaintextFile(docstring const & fname,
LFUN_FILE_INSERT_PLAINTEXT_PARA : LFUN_FILE_INSERT_PLAINTEXT));
FileDialog::Result result = dlg.open(toqstr(bv->buffer().filePath()),
QStringList());
QStringList(qt_("All Files (*)")));
if (result.first == FileDialog::Later)
return;