Fixed crash when repacking paks

This commit is contained in:
parax0 2016-03-21 18:23:25 -06:00
parent 220c54004f
commit b8b9426411
1 changed files with 2 additions and 1 deletions

View File

@ -132,9 +132,9 @@ private slots:
mSetMax = true;
}
setValue(Cur);
setLabelText(QString("%1 file %2 of %3...").arg(mMode == eExtract ? "Extracting" : "Repacking").arg(Cur).arg(Count));
setWindowTitle(labelText());
setValue(Cur);
}
update();
@ -145,6 +145,7 @@ private slots:
void PakToolFinished(int ExitCode)
{
while (mUpdating) {}
done(ExitCode == 0 ? eSuccess : eError);
}