Changeset 1241

Show
Ignore:
Timestamp:
1/17/2010 3:25:46 PM (2 months ago)
Author:
vessper
Message:

17/01/2010 (1.14.0.1241)


- HQF: Fixed crash importing Eve fittings where a matching module wasn't found

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EveHQ.HQF/Forms/frmEveImport.vb

    r1153 r1241  
    350350                Dim modNodes As XmlNodeList = fitNode.SelectNodes("hardware") 
    351351                For Each modNode As XmlNode In modNodes 
    352                     Dim fModule As ShipModule = CType(ModuleLists.moduleList(ModuleLists.moduleListName(modNode.Attributes("type").Value)), ShipModule) 
     352                    Dim fModule As ShipModule = CType(ModuleLists.moduleList(ModuleLists.moduleListName(modNode.Attributes("type").Value.Trim)), ShipModule) 
    353353                    If modNode.Attributes("slot").Value <> "subsystem slot 0" Then 
    354354                        If moduleList.ContainsKey(modNode.Attributes("slot").Value) = False Then