VirtualBox

Changeset 80130 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 5, 2019 12:01:05 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132571
Message:

FE/Qt: bugref:7720: VirtualBox Manager: Details pane: Change order of enabled/disabled actions for r132543.

File:
1 edited

Legend:

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

    r80129 r80130  
    770770            /* Fill menu with actions, use menu-bar NLS for both cases for simplicity: */
    771771            UIMenu menu;
     772            QAction *pActionDisable = menu.addAction(QApplication::translate("UIDetails", "Disabled", "details (user interface/menu-bar)"));
     773            pActionDisable->setCheckable(true);
     774            pActionDisable->setChecked(!fEnabled);
    772775            QAction *pActionEnable = menu.addAction(QApplication::translate("UIDetails", "Enabled", "details (user interface/menu-bar)"));
    773776            pActionEnable->setCheckable(true);
    774777            pActionEnable->setChecked(fEnabled);
    775             QAction *pActionDisable = menu.addAction(QApplication::translate("UIDetails", "Disabled", "details (user interface/menu-bar)"));
    776             pActionDisable->setCheckable(true);
    777             pActionDisable->setChecked(!fEnabled);
    778778
    779779            /* Execute menu, look for result: */
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