[ros-diffs] [gedmurphy] 27321: - remove the object from the list - fixes a bug when deleting a drive, then adding a new one directly after

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Fri Jun 29 01:14:37 CEST 2007


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?rev=27321&r1=27320&r2=27321&view=diff
==============================================================================
--- 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);
         }
 




More information about the Ros-diffs mailing list