mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
fix group parent, add details update by keyboard
This commit is contained in:
@@ -439,10 +439,14 @@ QStringList Group::hierarchy()
|
||||
{
|
||||
QStringList hierarchy;
|
||||
Group* group = this;
|
||||
while (group->parentGroup()) {
|
||||
hierarchy << group->name();
|
||||
|
||||
Group* parent = m_parent;
|
||||
hierarchy << group->name();
|
||||
|
||||
while (parent) {
|
||||
group = group->parentGroup();
|
||||
parent = group->parentGroup();
|
||||
|
||||
hierarchy << group->name();
|
||||
}
|
||||
return hierarchy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user