Browse Source

Merge pull request #2638 from cryptomator/feature/traymenu-onbeforeopenmenu-macos-fix

Fixed vault list refresh when tray icon is clicked on macOS
Tobias Hagemann 2 years ago
parent
commit
2f5e2af8d9

+ 1 - 1
src/main/java/org/cryptomator/ui/traymenu/AwtTrayMenuController.java

@@ -77,7 +77,7 @@ public class AwtTrayMenuController implements TrayMenuController {
 		Preconditions.checkNotNull(this.trayIcon);
 		this.trayIcon.addMouseListener(new MouseAdapter() {
 			@Override
-			public void mouseClicked(MouseEvent e) {
+			public void mousePressed(MouseEvent e) {
 				listener.run();
 			}
 		});