VirtualBox

Changeset 73691 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 15, 2018 1:20:00 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager UI: Properly update action visibility (s.a. r124349).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp

    r73676 r73691  
    19311931    const bool fSnapshotMenuShown = fMachineOrGroupMenuShown && m_pWidget->currentMachineTool() == ToolTypeMachine_Snapshots;
    19321932    m_pSnapshotMenuAction->setVisible(fSnapshotMenuShown);
    1933     actionPool()->action(UIActionIndexST_M_Snapshot_S_Take)->setVisible(fSnapshotMenuShown);
    1934     actionPool()->action(UIActionIndexST_M_Snapshot_S_Delete)->setVisible(fSnapshotMenuShown);
    1935     actionPool()->action(UIActionIndexST_M_Snapshot_S_Restore)->setVisible(fSnapshotMenuShown);
    1936     actionPool()->action(UIActionIndexST_M_Snapshot_T_Properties)->setVisible(fSnapshotMenuShown);
    1937     actionPool()->action(UIActionIndexST_M_Snapshot_S_Clone)->setVisible(fSnapshotMenuShown);
    19381933
    19391934    /* Hide action shortcuts: */
     
    19501945    foreach (UIAction *pAction, m_groupActions)
    19511946        pAction->setVisible(fMachineOrGroupMenuShown);
     1947    foreach (UIAction *pAction, m_snapshotActions)
     1948        pAction->setVisible(fSnapshotMenuShown);
    19521949
    19531950    /* Show action shortcuts: */
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