Author: gedmurphy
Date: Fri Jun 29 03:14:37 2007
New Revision: 27321
URL:
http://svn.reactos.org/svn/reactos?rev=27321&view=rev
Log:
- remove the object from the list
- fixes a bug when deleting a drive, then adding a new one directly after
Modified:
trunk/tools/RosTE/GUI/VirtualMachine.cs
Modified: trunk/tools/RosTE/GUI/VirtualMachine.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosTE/GUI/VirtualMachine.cs?…
==============================================================================
--- trunk/tools/RosTE/GUI/VirtualMachine.cs (original)
+++ trunk/tools/RosTE/GUI/VirtualMachine.cs Fri Jun 29 03:14:37 2007
@@ -506,6 +506,7 @@
public void DeleteHardDisk(VMHardDrive vmhd)
{
+ hardDrives.Remove(vmhd);
vmhd.DeleteHardDrive(vmhd.DiskID);
}