VirtualBox

Changeset 27142 in vbox


Ignore:
Timestamp:
Mar 7, 2010 4:35:37 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New running VM core: fullscreen main-menu actions availability fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp

    r27132 r27142  
    174174    UIMachineLogic::prepareActionGroups();
    175175
    176     /* Adjust window isn't allowed in fullscreen */
     176    /* Adjust-window action isn't allowed in fullscreen: */
    177177    actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setEnabled(false);
     178    actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setVisible(false);
    178179}
    179180
     
    316317void UIMachineLogicFullscreen::cleanupActionGroups()
    317318{
    318     /* Reenable adjust window */
     319    /* Reenable adjust-window action: */
    319320    actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setEnabled(true);
     321    actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setVisible(true);
    320322}
    321323
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette