Mercurial > retraceit
diff src/folderselectdialog.cpp @ 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 | 07744e276579 |
children | ca8d3cfe8ba1 |
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);