gui: Favor macOS show / hide action in dock menu
This commit is contained in:
parent
68f3c7eb08
commit
ee3a494f37
1 changed files with 3 additions and 0 deletions
|
@ -614,8 +614,11 @@ void BitcoinGUI::createTrayIconMenu()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Configuration of the tray icon (or dock icon) icon menu
|
// 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->addAction(toggleHideAction);
|
||||||
trayIconMenu->addSeparator();
|
trayIconMenu->addSeparator();
|
||||||
|
#endif
|
||||||
trayIconMenu->addAction(sendCoinsMenuAction);
|
trayIconMenu->addAction(sendCoinsMenuAction);
|
||||||
trayIconMenu->addAction(receiveCoinsMenuAction);
|
trayIconMenu->addAction(receiveCoinsMenuAction);
|
||||||
trayIconMenu->addSeparator();
|
trayIconMenu->addSeparator();
|
||||||
|
|
Loading…
Reference in a new issue