gui: Favor macOS show / hide action in dock menu
Github-Pull: #14133
Rebased-From: ee3a494f37
This commit is contained in:
parent
fa941016e8
commit
298dc15686
1 changed files with 3 additions and 0 deletions
|
@ -606,8 +606,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