mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 19:06:55 -05:00
fix group parent, add details update by keyboard
This commit is contained in:
parent
1a87e30b95
commit
0e6fedc056
5 changed files with 43 additions and 63 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue