fixed recycle icon not updated in time

This commit is contained in:
okrc 2022-11-18 22:11:46 +08:00 committed by GitHub
parent 1b36fa1b5e
commit fc77de92bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ QList<QVariant> CSbieModel::Sync(const QMap<QString, CSandBoxPtr>& BoxList, cons
pNode->bOpen = bOpen;
pNode->boxType = boxType;
pNode->boxColor = boxColor;
pNode->boxDel = boxDel;
//pNode->Icon = pNode->inUse ? m_BoxInUse : m_BoxEmpty;
if(ColorIcons)
Icon = theGUI->GetColorIcon(boxColor, inUse);
@ -591,4 +592,4 @@ bool CSbieModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int
}
return true;
}
}