diff --git a/src/core/Group.cpp b/src/core/Group.cpp index ffca3f4e..b37821bf 100644 --- a/src/core/Group.cpp +++ b/src/core/Group.cpp @@ -186,11 +186,14 @@ void Group::setIcon(const Uuid& uuid) { Q_ASSERT(!uuid.isNull()); - if (set(m_customIcon, uuid)) { + if (m_customIcon != uuid) { + m_customIcon = uuid; m_iconNumber = 0; m_pixmapCacheKey = QPixmapCache::Key(); + updateTimeinfo(); + Q_EMIT modified(); Q_EMIT dataChanged(this); } }