From 56f22a330ef363e5f813966a265b720deee8a449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 9 Jan 2009 07:35:20 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index e507ca3c31..b28eb0cd39 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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;