Changeset 85752 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 13, 2020 4:25:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolManager.cpp
r85675 r85752 3921 3921 pMenu->clear(); 3922 3922 3923 #ifdef VBOX_WS_MAC 3924 // WORKAROUND: 3925 // On macOS you can't leave menu empty and still have it in 3926 // the menu-bar, you have to leave there at least something. 3927 // Remaining stuff will be appended from UIVirtualBoxManager. 3928 pMenu->addAction(action(UIActionIndexMN_M_Group_S_New)); 3929 #endif 3930 3923 3931 /* This menu always remains invalid.. */ 3924 3932 } … … 3931 3939 /* Clear contents: */ 3932 3940 pMenu->clear(); 3941 3942 #ifdef VBOX_WS_MAC 3943 // WORKAROUND: 3944 // On macOS you can't leave menu empty and still have it in 3945 // the menu-bar, you have to leave there at least something. 3946 // Remaining stuff will be appended from UIVirtualBoxManager. 3947 pMenu->addAction(action(UIActionIndexMN_M_Machine_S_New)); 3948 #endif 3933 3949 3934 3950 /* This menu always remains invalid.. */
Note:
See TracChangeset
for help on using the changeset viewer.