mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Delete actions after removal from menu.
This commit is contained in:
parent
34f12ac39c
commit
3e4811791a
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ void MainWindow::updateCopyAttributesMenu()
|
|||
Q_FOREACH (QAction* action, m_ui->menuEntryCopyAttribute->actions()) {
|
||||
if (action != m_ui->actionEntryCopyPassword && action != m_ui->actionEntryCopyUsername) {
|
||||
m_ui->menuEntryCopyAttribute->removeAction(action);
|
||||
delete action;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue