VirtualBox

Ignore:
Timestamp:
Mar 9, 2011 2:21:41 PM (14 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: fix handling of the snapshot folder when renaming a VM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsGeneral.cpp

    r35476 r36229  
    137137
    138138    /* Gather corresponding values from internal variables: */
    139     m_machine.SetName(m_cache.m_strName);
    140139    m_machine.SetOSTypeId(m_cache.m_strGuestOsTypeId);
    141140    m_machine.SetExtraData(VBoxDefs::GUI_SaveMountedAtRuntime, m_cache.m_fSaveMountedAtRuntime ? "yes" : "no");
     
    145144    m_machine.SetClipboardMode(m_cache.m_clipboardMode);
    146145    m_machine.SetDescription(m_cache.m_strDescription);
     146    /* Must be last as otherwise its VM rename magic can collide with other
     147     * settings in the config, especially with the snapshot folder. */
     148    m_machine.SetName(m_cache.m_strName);
    147149
    148150    /* Upload machine to data: */
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