mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Toggle main window with by middle mouse clicking tray icon
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user