Skip to content

Commit daf9d97

Browse files
committed
fixed #13958 - ThreadResult: reset mItNextFile along with mFiles
1 parent d95ae44 commit daf9d97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gui/threadresult.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ void ThreadResult::setProject(const ImportProject &prj)
105105
{
106106
std::lock_guard<std::mutex> locker(mutex);
107107
mFiles.clear();
108+
mItNextFile = mFiles.cbegin();
108109
mFileSettings = prj.fileSettings;
109110
mItNextFileSettings = mFileSettings.cbegin();
110111
mProgress = 0;

0 commit comments

Comments
 (0)