mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Select newly created groups and expand parent.
This commit is contained in:
parent
84a9e397d2
commit
554029ac31
3 changed files with 16 additions and 2 deletions
|
@ -206,6 +206,8 @@ void DatabaseWidget::switchToView(bool accepted)
|
|||
if (m_newGroup) {
|
||||
if (accepted) {
|
||||
m_newGroup->setParent(m_newParent);
|
||||
m_groupView->setCurrentGroup(m_newGroup);
|
||||
m_groupView->expandGroup(m_newParent);
|
||||
}
|
||||
else {
|
||||
delete m_newGroup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue