Skip to content

Commit bdfeb5d

Browse files
committed
Merge #14133: gui: Favor macOS show / hide action in dock menu
ee3a494 gui: Favor macOS show / hide action in dock menu (João Barbosa) Pull request description: Before: <img width="188" alt="screen shot 2018-09-02 at 19 10 02" src="https://user-images.githubusercontent.com/3534524/44959393-5a44c400-aee5-11e8-90f4-9a30f67f7ee2.png"> After: <img width="200" alt="screen shot 2018-09-02 at 19 19 01" src="https://user-images.githubusercontent.com/3534524/44959395-60d33b80-aee5-11e8-9773-1d04d3482115.png"> Note that macOS toggles between `Hide` and `Show`. Tree-SHA512: e616fabc5a4689355d924cb99ce33c0d4c6618e858002cef7521dc4783346ff882341cf8d7f667d7fb920a8337373eff37169cddc2da93e48f7710e5c41d0b93
2 parents 0f34dac + ee3a494 commit bdfeb5d

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)