Prompt to migrate KeePassHTTP settings only if Browser Integration is enabled

This commit is contained in:
varjolintu 2019-06-30 15:28:10 +03:00 committed by Jonathan White
parent 12f42a555e
commit 32e62faf39

View File

@ -1070,6 +1070,10 @@ int BrowserService::moveKeysToCustomData(Entry* entry, const QSharedPointer<Data
bool BrowserService::checkLegacySettings()
{
if (!browserSettings()->isEnabled()) {
return false;
}
auto db = getDatabase();
if (!db) {
return false;