mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Disable searching and auto-type for the Backup group imported from KeePass1.
This commit is contained in:
parent
7820bf2510
commit
fcc936ceff
@ -201,6 +201,13 @@ Database* KeePass1Reader::readDatabase(QIODevice* device, const QString& passwor
|
|||||||
|
|
||||||
db->rootGroup()->setName(tr("Root"));
|
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_ASSERT(m_tmpParent->children().isEmpty());
|
||||||
|
|
||||||
Q_FOREACH (Entry* entry, m_tmpParent->entries()) {
|
Q_FOREACH (Entry* entry, m_tmpParent->entries()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user