aboutsummaryrefslogtreecommitdiffstats
path: root/smtk-import/smrtk2ssrfc_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smtk-import/smrtk2ssrfc_window.cpp')
-rw-r--r--smtk-import/smrtk2ssrfc_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtk-import/smrtk2ssrfc_window.cpp b/smtk-import/smrtk2ssrfc_window.cpp
index 6b40b8a7d..15f736a7d 100644
--- a/smtk-import/smrtk2ssrfc_window.cpp
+++ b/smtk-import/smrtk2ssrfc_window.cpp
@@ -34,7 +34,7 @@ QString Smrtk2ssrfcWindow::lastUsedDir()
settings.beginGroup("FileDialog");
if (settings.contains("LastDir"))
- if (QDir::setCurrent(settings.value("LastDir").toString()))
+ if (QDir(settings.value("LastDir").toString()).exists())
lastDir = settings.value("LastDir").toString();
return lastDir;
}