mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-03 12:06:25 -04:00
FdoSecrets: fix when exposing groups, the root group is considered in recycle bin
This commit is contained in:
parent
98ff9f1e77
commit
12efb281f8
1 changed files with 2 additions and 2 deletions
|
@ -681,8 +681,8 @@ namespace FdoSecrets
|
||||||
Q_ASSERT(m_backend);
|
Q_ASSERT(m_backend);
|
||||||
|
|
||||||
if (!group) {
|
if (!group) {
|
||||||
// just to be safe
|
// the root group's parent is nullptr, we treat it as not in recycle bin.
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_backend->database()->metadata()) {
|
if (!m_backend->database()->metadata()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue