diff --git a/gui/threadresult.cpp b/gui/threadresult.cpp index 8300aeb41a7..a8d198228ea 100644 --- a/gui/threadresult.cpp +++ b/gui/threadresult.cpp @@ -105,6 +105,7 @@ void ThreadResult::setProject(const ImportProject &prj) { std::lock_guard locker(mutex); mFiles.clear(); + mItNextFile = mFiles.cbegin(); mFileSettings = prj.fileSettings; mItNextFileSettings = mFileSettings.cbegin(); mProgress = 0;