- Timestamp:
- Aug 16, 2012 6:36:24 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80117
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r42853 r42854 831 831 m_pDetails->setItems(currentItems()); 832 832 if (fRefreshSnapshots) 833 { 833 834 m_pVMDesktop->updateSnapshots(pItem, pItem->machine()); 835 /* Always hide snapshots-view if 836 * single group or more than one machine is selected: */ 837 if (currentItems().size() > 1 || m_pChooser->singleGroupSelected()) 838 m_pVMDesktop->lockSnapshots(); 839 } 834 840 } 835 841 /* If currently selected VM item is NOT accessible: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp
r42526 r42854 2059 2059 m_pHeaderBtn->setEnabled(Snap, true); 2060 2060 m_pSnapshotsPage->setMachine(machine); 2061 } else 2062 { 2063 m_pHeaderBtn->animateClick(Dtls); 2064 m_pHeaderBtn->setEnabled(Snap, false); 2065 } 2061 } 2062 else 2063 lockSnapshots(); 2064 } 2065 2066 void UIVMDesktop::lockSnapshots() 2067 { 2068 m_pHeaderBtn->animateClick(Dtls); 2069 m_pHeaderBtn->setEnabled(Snap, false); 2066 2070 } 2067 2071 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.h
r42526 r42854 54 54 55 55 void updateSnapshots(UIVMItem *pVMItem, const CMachine& machine); 56 void lockSnapshots(); 56 57 // void updateDescription(UIVMItem *pVMItem, const CMachine& machine); 57 58 // void updateDescriptionState();
Note:
See TracChangeset
for help on using the changeset viewer.