mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 18:07:05 -04:00
add Lock Databases option to tray icon menu
This is useful when keepassxc is minimized/hidden to the tray, and all the plumbing is already in place from the lock icon button in the main window UI.
This commit is contained in:
parent
a0c84dbd0d
commit
7bd079d48d
1 changed files with 2 additions and 0 deletions
|
@ -943,6 +943,8 @@ void MainWindow::updateTrayIcon()
|
|||
QAction* actionToggle = new QAction(tr("Toggle window"), menu);
|
||||
menu->addAction(actionToggle);
|
||||
|
||||
menu->addAction(m_ui->actionLockDatabases);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
QAction* actionQuit = new QAction(tr("Quit KeePassXC"), menu);
|
||||
menu->addAction(actionQuit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue