Changeset 27624 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 23, 2010 12:09:03 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59176
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r27611 r27624 309 309 if (dlg.mCbDiscardCurState->isChecked() && dlg.mCbDiscardCurState->isVisibleTo(&dlg)) 310 310 { 311 success = false;312 311 CSnapshot snapshot = machine.GetCurrentSnapshot(); 313 312 CProgress progress = console.RestoreSnapshot(snapshot); … … 320 319 if (progress.GetResultCode() != 0) 321 320 vboxProblem().cannotRestoreSnapshot(progress, snapshot.GetName()); 322 else323 success = true;324 321 } 325 322 } … … 348 345 (lastAction += ",") += strDiscardCurState; 349 346 machine.SetExtraData(VBoxDefs::GUI_LastCloseAction, lastAction); 350 AssertWrapperOk(machine);351 347 } 352 348 }
Note:
See TracChangeset
for help on using the changeset viewer.