diff --git a/src/core/Database.cpp b/src/core/Database.cpp index 6595cf83d..a513c119e 100644 --- a/src/core/Database.cpp +++ b/src/core/Database.cpp @@ -162,6 +162,7 @@ void Database::setKey(const CompositeKey& key, const QByteArray& transformSeed) { m_transformSeed = transformSeed; m_transformedMasterKey = key.transform(transformSeed, transformRounds()); + Q_EMIT modified(); } void Database::setKey(const CompositeKey& key) diff --git a/src/core/Database.h b/src/core/Database.h index 63ec1372e..079b8498d 100644 --- a/src/core/Database.h +++ b/src/core/Database.h @@ -88,6 +88,7 @@ Q_SIGNALS: void groupAdded(); void groupAboutToRemove(Group* group); void groupRemoved(); + void modified(); private: Entry* recFindEntry(const Uuid& uuid, Group* group);