mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
* 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:
parent
c1ca2b89fb
commit
56f22a330e
@ -1705,7 +1705,7 @@ void GuiView::insertPlaintextFile(docstring const & fname,
|
|||||||
LFUN_FILE_INSERT_PLAINTEXT_PARA : LFUN_FILE_INSERT_PLAINTEXT));
|
LFUN_FILE_INSERT_PLAINTEXT_PARA : LFUN_FILE_INSERT_PLAINTEXT));
|
||||||
|
|
||||||
FileDialog::Result result = dlg.open(toqstr(bv->buffer().filePath()),
|
FileDialog::Result result = dlg.open(toqstr(bv->buffer().filePath()),
|
||||||
QStringList());
|
QStringList(qt_("All Files (*)")));
|
||||||
|
|
||||||
if (result.first == FileDialog::Later)
|
if (result.first == FileDialog::Later)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user