Mercurial > retraceit
changeset 61:de148cd023a1
Do not print errors if the folder is not set.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 19 May 2015 16:14:20 +0200 |
parents | af8f1792d48d |
children | a9a343271490 |
files | src/folderselectdialog.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/folderselectdialog.cpp Tue May 19 16:14:04 2015 +0200 +++ b/src/folderselectdialog.cpp Tue May 19 16:14:20 2015 +0200 @@ -140,6 +140,9 @@ } void FolderSelectDialog::setFolder(const QString& folder) { + if (folder.isEmpty()) { + return; + } mCurFolder = folder; if (mPathLineEdit) { mPathLineEdit->setText(mCurFolder);