VirtualBox

Changeset 83034 in vbox


Ignore:
Timestamp:
Feb 10, 2020 2:28:17 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Chooser pane: Missed bit of action validation in r136029; This should fix the inability to call for new VM wizard while global tool item is selected.

File:
1 edited

Legend:

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

    r83008 r83034  
    860860void UIChooserModel::sltCreateNewMachine()
    861861{
    862     /* Check if action is enabled: */
    863     if (!actionPool()->action(UIActionIndexST_M_Machine_S_New)->isEnabled())
     862    /* Check if at least one of actions is enabled: */
     863    if (   !actionPool()->action(UIActionIndexST_M_Welcome_S_New)->isEnabled()
     864        && !actionPool()->action(UIActionIndexST_M_Machine_S_New)->isEnabled()
     865        && !actionPool()->action(UIActionIndexST_M_Group_S_New)->isEnabled())
    864866        return;
    865867
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