- remove the object from the list

- fixes a bug when deleting a drive, then adding a new one directly after

svn path=/trunk/tools/RosTE/; revision=266
This commit is contained in:
Ged Murphy 2007-06-28 23:14:37 +00:00
parent e8480184ee
commit a742e22589

View File

@ -506,6 +506,7 @@ namespace RosTEGUI
public void DeleteHardDisk(VMHardDrive vmhd)
{
hardDrives.Remove(vmhd);
vmhd.DeleteHardDrive(vmhd.DiskID);
}