mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fixed error in comparison function
This commit is contained in:
@ -502,11 +502,6 @@ namespace DisplayMagicianShared
|
||||
return new List<ScreenPosition>();
|
||||
}
|
||||
|
||||
/*public int CompareTo(ProfileItem other)
|
||||
{
|
||||
return this.Name.CompareTo(other.Name);
|
||||
}*/
|
||||
|
||||
public int CompareTo(object obj)
|
||||
{
|
||||
if (!(obj is ProfileItem)) throw new ArgumentException("Object to CompareTo is not a Shortcut"); ;
|
||||
|
Reference in New Issue
Block a user