VirtualBox

Changeset 43064 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 29, 2012 10:09:43 AM (12 years ago)
Author:
vboxsync
Message:

Main/Console: fix incorrect condition which prevented cancelling online snapshots from the GUI, was there for a very long time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r42907 r43064  
    33353335    ComObjPtr<Progress> pProgress;
    33363336    pProgress.createObject();
    3337     rc = pProgress->init(static_cast<IConsole*>(this),
     3337    rc = pProgress->init(static_cast<IConsole *>(this),
    33383338                         Bstr(tr("Taking a snapshot of the virtual machine")).raw(),
    3339                          mMachineState == MachineState_Running /* aCancelable */,
     3339                            (mMachineState >= MachineState_FirstOnline)
     3340                         && (mMachineState <= MachineState_LastOnline) /* aCancelable */,
    33403341                         cOperations,
    33413342                         ulTotalOperationsWeight,
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