mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 13:37:43 +03:00
Toggle main window with by middle mouse clicking tray icon
This commit is contained in:
parent
5a18b8de77
commit
0c62d8454d
1 changed files with 1 additions and 1 deletions
|
@ -855,7 +855,7 @@ void MainWindow::applySettingsChanges()
|
|||
|
||||
void MainWindow::trayIconTriggered(QSystemTrayIcon::ActivationReason reason)
|
||||
{
|
||||
if (reason == QSystemTrayIcon::Trigger) {
|
||||
if (reason == QSystemTrayIcon::Trigger || reason == QSystemTrayIcon::MiddleClick) {
|
||||
toggleWindow();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue