fix group parent, add details update by keyboard

This commit is contained in:
thez3ro committed 2017-10-26 12:19:23 +02:00
1 parent 1a87e30b95
commit 0e6fedc056
5 files changed
+43 -63

No files matched your search

+7 -3
View File
@@ -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;
}