mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-25 17:01:17 -05:00
Delete actions after removal from menu.
This commit is contained in:
parent
34f12ac39c
commit
3e4811791a
@ -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…
x
Reference in New Issue
Block a user