mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-03 10:00:04 -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);
|
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…
x
Reference in New Issue
Block a user