VirtualBox

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


Ignore:
Timestamp:
Nov 27, 2013 6:00:49 PM (11 years ago)
Author:
vboxsync
Message:

Main/Snapshot: block deleting of current snapshot if it has child snapshots, as this would lead to VM config corruption, plus safety belts in the GUI and settings reader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSnapshotsWgt.cpp

    r48534 r49687  
    10181018    item->recache();
    10191019
    1020     if (mMachine.GetCurrentSnapshot().GetId() == aSnapshot.GetId())
     1020    CSnapshot curSnapshot = mMachine.GetCurrentSnapshot();
     1021    if (!curSnapshot.isNull() && curSnapshot.GetId() == aSnapshot.GetId())
    10211022    {
    10221023        item->setBold (true);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette