Skip to content

Commit 298dc15

Browse files
committed
gui: Favor macOS show / hide action in dock menu
Github-Pull: #14133 Rebased-From: ee3a494
1 parent fa94101 commit 298dc15

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
@@ -606,8 +606,11 @@ void BitcoinGUI::createTrayIconMenu()
606606
#endif
607607

608608
// Configuration of the tray icon (or dock icon) icon menu
609+
#ifndef Q_OS_MAC
610+
// Note: On Mac, the dock icon's menu already has show / hide action.
609611
trayIconMenu->addAction(toggleHideAction);
610612
trayIconMenu->addSeparator();
613+
#endif
611614
trayIconMenu->addAction(sendCoinsMenuAction);
612615
trayIconMenu->addAction(receiveCoinsMenuAction);
613616
trayIconMenu->addSeparator();

0 commit comments

Comments
 (0)