mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed race condition drawing previews.
This commit is contained in:
parent
c1c88ea045
commit
ec169c8263
1 changed files with 2 additions and 2 deletions
|
@ -231,8 +231,8 @@ void lcPartSelectionListModel::PartLoaded(PieceInfo* Info)
|
|||
{
|
||||
if (mParts[PartIdx].first == Info)
|
||||
{
|
||||
DrawPreview(PartIdx);
|
||||
mRequestedPreviews.removeOne(PartIdx);
|
||||
if (mRequestedPreviews.removeOne(PartIdx))
|
||||
DrawPreview(PartIdx);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue