Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'AppDelegate.cs')
-rw-r--r--AppDelegate.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/AppDelegate.cs b/AppDelegate.cs
index 9b88c6d..b6cedb7 100644
--- a/AppDelegate.cs
+++ b/AppDelegate.cs
@@ -132,7 +132,7 @@ namespace macdoc
}).ContinueWith (t => Logger.LogError ("Error while creating indexes", t.Exception), TaskContinuationOptions.OnlyOnFaulted);
// Check if there is a MonoTouch/MonoMac documentation installed and launch accordingly
- var products = Root.HelpSources.Where (hs => hs != null && hs.Name != null).ToProducts ();
+ var products = Root.HelpSources.Where (hs => hs != null && hs.Name != null).ToProducts ().Distinct ().ToArray ();
if (products.Where (p => File.Exists (ProductUtils.GetMergeToolForProduct (p))).Any ()) {
Task.Factory.StartNew (() => {
return products.ToDictionary (p => p,