mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Merge pull request #992 from guzzard/middle-mouse-click-status-icon
Toggle main window by middle mouse clicking tray icon
This commit is contained in:
commit
549fef8eb5
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…
Reference in a new issue