Changeset 1264

Show
Ignore:
Timestamp:
1/23/2010 5:47:52 AM (8 weeks ago)
Author:
Sherkhan
Message:

1. Fix for a crash issue
2. Fix for removing modules and Reaction Manager
3. Fix to re-try getting the tower module data if it is for some reason missing.

Location:
trunk/EveHQ.PosManager
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/EveHQ.PosManager/Data Classes/POS.cs

    r958 r1264  
    240240 
    241241            m = (Module)Modules[rowIndex]; 
    242             foreach (ReactionLink rl in ReactionLinks) 
    243             { 
    244                 if (rl.InpID == m.ModuleID) 
    245                 { 
    246                     ReactionLinks.Remove(rl); 
    247                     break; 
    248                 } 
    249             } 
     242 
     243            if (m.MSRList.Count > 0) 
     244                ReactionLinks.Clear(); 
     245 
    250246            Modules.RemoveAt(rowIndex); 
    251247        } 
  • trunk/EveHQ.PosManager/EveHQ.PosManager.csproj

    r855 r1264  
    1919    <DebugType>full</DebugType> 
    2020    <Optimize>false</Optimize> 
    21     <OutputPath>..\EveHq\bin\Debug\</OutputPath> 
     21    <OutputPath>..\EveHQ\bin\Debug\</OutputPath> 
    2222    <DefineConstants>DEBUG;TRACE</DefineConstants> 
    2323    <ErrorReport>prompt</ErrorReport> 
  • trunk/EveHQ.PosManager/Forms/PoSManMainForm.cs

    r1171 r1264  
    16251625            else 
    16261626            { 
     1627                if (ML.Modules.Count < 1) 
     1628                { 
     1629                    // No modules found, attempt to retrieve them 
     1630                    MessageBox.Show("Did not find any modules, Attempting to find them - this will take a bit, please wait.", "Modules Error", MessageBoxButtons.OK); 
     1631                    ML.PopulateModuleListing(1); 
     1632                } 
     1633 
    16271634                foreach (Module m in ML.Modules) 
    16281635                {