branch: Do not clear the default master setting when cancelling the browse dialog.

see r32737.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32806 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-06 20:20:22 +00:00
parent 0c3357e510
commit 7554c40dbb
2 changed files with 5 additions and 1 deletions

View File

@ -1307,7 +1307,8 @@ void GuiDocument::browseMaster()
QString file = browseRelFile(old, docpath, title, filter, false,
qt_("Documents|#o#O"), toqstr(lyxrc.document_path));
latexModule->childDocLE->setText(file);
if (!file.isEmpty())
latexModule->childDocLE->setText(file);
}

View File

@ -116,6 +116,9 @@ What's new
- Do not paint the cursor after resizing if it is invisible (bug 6332).
- Refresh the contents of some dialogs when the document is read-only.
- Do not clear the default master setting in preferences dialog when
cancelling the browse dialog.
* DOCUMENTATION AND LOCALIZATION