VirtualBox

Ignore:
Timestamp:
Feb 6, 2013 11:32:02 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83623
Message:

FE/Qt: 5823: Few fixes to action-pool / state-actions.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIActionPoolSelector.cpp

    r44448 r44560  
    620620        switch (m_iState)
    621621        {
    622             case 1:
     622            case 0:
    623623            {
    624624                setName(QApplication::translate("UIActionPool", "S&tart"));
     
    628628                break;
    629629            }
    630             case 2:
     630            case 1:
    631631            {
    632632                setName(QApplication::translate("UIActionPool", "S&how"));
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r44453 r44560  
    16281628    /* Start/Show action is deremined by 1st item: */
    16291629    if (pItem && pItem->accessible())
    1630         m_pAction_Common_StartOrShow->setState(UIVMItem::isItemPoweredOff(pItem) ? 1 : 2);
     1630        m_pAction_Common_StartOrShow->setState(UIVMItem::isItemPoweredOff(pItem) ? 0 : 1);
    16311631    else
    1632         m_pAction_Common_StartOrShow->setState(1);
     1632        m_pAction_Common_StartOrShow->setState(0);
    16331633
    16341634    /* Pause/Resume action is deremined by 1st started item: */
Note: See TracChangeset for help on using the changeset viewer.

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