diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-01-07 14:08:10 +0400 |
---|---|---|
committer | Alex Corrado <alexc@xamarin.com> | 2014-01-09 01:26:02 +0400 |
commit | 0f69887e32ca3dc1999591107d146f3162dd18f0 (patch) | |
tree | a96269975cd17d15bcadd977ad27607d45591a85 | |
parent | e6b0abc74f15eb9d1ded5280a7b0206ac7e4465b (diff) |
[Ide] Fixed failing completion window tests.
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs index 474533da27..776450f289 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeCompletion/CompletionData.cs @@ -138,7 +138,7 @@ namespace MonoDevelop.Ide.CodeCompletion return StringComparer.Ordinal.Compare (a.Description, b.Description); var ca = a as CompletionData; var cb = b as CompletionData; - if (ca != null && cb != null) { + if (ca != null && cb != null && !ca.Icon.IsNull && !cb.Icon.IsNull) { return ca.Icon.Name.CompareTo (cb.Icon.Name); } } |