mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-05 08:12:35 -08:00
Delete actions after removal from menu.
This commit is contained in:
1 parent
34f12ac39c
commit
3e4811791a
1 file changed
+1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user