Ignore:
Timestamp:
10/20/09 15:34:02 (13 years ago)
Author:
mkommend
Message:

refactored mainform (ticket #771)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Mainform refactoring/HeuristicLab.MainForm/3.2/MainFormManager.cs

    r2438 r2443  
    113113            if (t1.IsAssignableFrom(t2))
    114114              return 1;
    115             return -1;
     115            else if (t2.IsAssignableFrom(t1))
     116              return -1;
     117            else
     118              return 0;
    116119          }
    117120          );
     
    121124            throw new Exception("Could not determine which is the default view for type " + viewableType.ToString() + ".");
    122125        }
    123       }     
     126      }
    124127    }
    125128
Note: See TracChangeset for help on using the changeset viewer.