mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-24 05:31:11 -05:00
FdoSecrets: fix when exposing groups, the root group is considered in recycle bin
This commit is contained in:
parent
98ff9f1e77
commit
12efb281f8
@ -681,8 +681,8 @@ namespace FdoSecrets
|
||||
Q_ASSERT(m_backend);
|
||||
|
||||
if (!group) {
|
||||
// just to be safe
|
||||
return true;
|
||||
// the root group's parent is nullptr, we treat it as not in recycle bin.
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_backend->database()->metadata()) {
|
||||
|
Loading…
Reference in New Issue
Block a user