mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-01 06:12:52 -08:00
Toggle main window with by middle mouse clicking tray icon
This commit is contained in:
1 parent
5a18b8de77
commit
0c62d8454d
1 file changed
+1
-1
@@ -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