mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Disable searching and auto-type for the Backup group imported from KeePass1.
This commit is contained in:
@@ -201,6 +201,13 @@ Database* KeePass1Reader::readDatabase(QIODevice* device, const QString& passwor
|
||||
|
||||
db->rootGroup()->setName(tr("Root"));
|
||||
|
||||
Q_FOREACH (Group* group, db->rootGroup()->children()) {
|
||||
if (group->name() == "Backup") {
|
||||
group->setSearchingEnabled(Group::Disable);
|
||||
group->setAutoTypeEnabled(Group::Disable);
|
||||
}
|
||||
}
|
||||
|
||||
Q_ASSERT(m_tmpParent->children().isEmpty());
|
||||
|
||||
Q_FOREACH (Entry* entry, m_tmpParent->entries()) {
|
||||
|
||||
Reference in New Issue
Block a user