Changeset 58286 in vbox
- Timestamp:
- Oct 16, 2015 4:47:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r57897 r58286 1809 1809 foreach (UIVMItem *pSelectedItem, items) 1810 1810 if (UIVMItem::isItemStarted(pSelectedItem)) 1811 { 1811 1812 pFirstStartedAction = pSelectedItem; 1812 /* Update the Pause/Resume action appearance: */ 1813 break; 1814 } 1815 /* Update the group Pause/Resume action appearance: */ 1813 1816 actionPool()->action(UIActionIndexST_M_Group_T_Pause)->blockSignals(true); 1814 1817 actionPool()->action(UIActionIndexST_M_Group_T_Pause)->setChecked(pFirstStartedAction && UIVMItem::isItemPaused(pFirstStartedAction)); 1815 1818 actionPool()->action(UIActionIndexST_M_Group_T_Pause)->retranslateUi(); 1816 1819 actionPool()->action(UIActionIndexST_M_Group_T_Pause)->blockSignals(false); 1820 /* Update the machine Pause/Resume action appearance: */ 1821 actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->blockSignals(true); 1822 actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->setChecked(pFirstStartedAction && UIVMItem::isItemPaused(pFirstStartedAction)); 1823 actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->retranslateUi(); 1824 actionPool()->action(UIActionIndexST_M_Machine_T_Pause)->blockSignals(false); 1817 1825 1818 1826 #ifdef QT_MAC_USE_COCOA
Note:
See TracChangeset
for help on using the changeset viewer.

