Skip to content

Commit 10131b1

Browse files
authored
fixed #13958 - ThreadResult: reset mItNextFile along with mFiles (fixes assert in debug build) (#7616)
1 parent d95ae44 commit 10131b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)