Skip to content

Commit ee3a494

Browse files
committed
gui: Favor macOS show / hide action in dock menu
1 parent 68f3c7e commit ee3a494

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,11 @@ void BitcoinGUI::createTrayIconMenu()
614614
#endif
615615

616616
// Configuration of the tray icon (or dock icon) icon menu
617+
#ifndef Q_OS_MAC
618+
// Note: On Mac, the dock icon's menu already has show / hide action.
617619
trayIconMenu->addAction(toggleHideAction);
618620
trayIconMenu->addSeparator();
621+
#endif
619622
trayIconMenu->addAction(sendCoinsMenuAction);
620623
trayIconMenu->addAction(receiveCoinsMenuAction);
621624
trayIconMenu->addSeparator();

0 commit comments

Comments
 (0)