mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Emit dataChanged() when the entry icon has changed.
This commit is contained in:
@@ -231,6 +231,7 @@ void Entry::setIcon(int iconNumber)
|
||||
m_pixmapCacheKey = QPixmapCache::Key();
|
||||
|
||||
Q_EMIT modified();
|
||||
emitDataChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,6 +246,7 @@ void Entry::setIcon(const Uuid& uuid)
|
||||
m_pixmapCacheKey = QPixmapCache::Key();
|
||||
|
||||
Q_EMIT modified();
|
||||
emitDataChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user