mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Fix handling of Insert Plain Text dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21932 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
411d45b165
commit
d8d717fc36
@ -374,10 +374,10 @@ docstring const getContentsOfPlaintextFile(BufferView * bv, string const & f,
|
||||
if (result.first == FileDialog::Later)
|
||||
return docstring();
|
||||
|
||||
fname = makeAbsPath(to_utf8(result.second));
|
||||
|
||||
if (fname.empty())
|
||||
if (result.second.empty())
|
||||
return docstring();
|
||||
|
||||
fname = makeAbsPath(to_utf8(result.second));
|
||||
}
|
||||
|
||||
if (!fs::is_readable(fname.toFilesystemEncoding())) {
|
||||
|
@ -197,6 +197,8 @@ What's new
|
||||
- Make sure that the Chapter* layout appears in outline and naviagtion menu
|
||||
(bug 3888).
|
||||
|
||||
- Fix handling of Insert Plain Text dialog cancel
|
||||
|
||||
|
||||
* DOCUMENTATION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user