Changeset 67526 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jun 21, 2017 8:07:45 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116266
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.cpp
r67517 r67526 776 776 if (fSuccess) 777 777 { 778 if (pItem == m_pCurrentSnapshotItem) 779 { 780 m_pCurrentSnapshotItem = UISnapshotItem::toSnapshotItem(pParent); 781 if (m_pCurrentSnapshotItem) 782 m_pCurrentSnapshotItem->setCurrentSnapshotItem(true); 783 } 778 784 delete pItem; 779 785 pItem = 0; … … 1641 1647 1642 1648 /* If non-critical warnings are not hidden or current state is changed: */ 1643 if (!fSuppressNonCriticalWarnings ||m_comMachine.GetCurrentStateModified())1649 if (!fSuppressNonCriticalWarnings && m_comMachine.GetCurrentStateModified()) 1644 1650 { 1645 1651 /* Ask if user really wants to restore the selected snapshot: */
Note:
See TracChangeset
for help on using the changeset viewer.