VirtualBox

Changeset 56033 in vbox


Ignore:
Timestamp:
May 22, 2015 3:28:55 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: allow to terminate a VM by saving its state even if the VM is paused

File:
1 edited

Legend:

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

    r56007 r56033  
    684684        /* Get session machine: */
    685685        CMachine machine = session.GetMachine();
    686         /* Pause VM first: */
    687         console.Pause();
     686        /* Pause VM first if necessary: */
     687        if (pItem->machineState() != KMachineState_Paused)
     688            console.Pause();
    688689        if (console.isOk())
    689690        {
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