Update SbieView.cpp
Fix https://github.com/sandboxie-plus/Sandboxie/issues/2231 When creating groups nested within groups, m_Groups.append ran twice and now removes a value.
This commit is contained in:
parent
c0e864b817
commit
138387328a
|
@ -777,6 +777,7 @@ void CSbieView::OnGroupAction(QAction* Action)
|
|||
if (List.isEmpty())
|
||||
return;
|
||||
m_Groups[""].removeAll(Name);
|
||||
m_Groups[List.first()].removeAll(Name);
|
||||
m_Groups[List.first()].append(Name);
|
||||
}
|
||||
else if (Action == m_pRenGroupe)
|
||||
|
|
Loading…
Reference in New Issue