Skip to content

Commit

Permalink
gui: Favor macOS show / hide action in dock menu
Browse files Browse the repository at this point in the history
Github-Pull: #14133
Rebased-From: ee3a494
  • Loading branch information
promag committed Dec 30, 2018
1 parent fa94101 commit 298dc15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qt/bitcoingui.cpp
Expand Up @@ -606,8 +606,11 @@ void BitcoinGUI::createTrayIconMenu()
#endif

// Configuration of the tray icon (or dock icon) icon menu
#ifndef Q_OS_MAC
// Note: On Mac, the dock icon's menu already has show / hide action.
trayIconMenu->addAction(toggleHideAction);
trayIconMenu->addSeparator();
#endif
trayIconMenu->addAction(sendCoinsMenuAction);
trayIconMenu->addAction(receiveCoinsMenuAction);
trayIconMenu->addSeparator();
Expand Down

0 comments on commit 298dc15

Please sign in to comment.