aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qtvstools/QtHelpLinkChooser.xaml.cs2
-rw-r--r--src/qtvstools/QtHelpMenu.cs3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/qtvstools/QtHelpLinkChooser.xaml.cs b/src/qtvstools/QtHelpLinkChooser.xaml.cs
index f8cfb68d..9b6c287c 100644
--- a/src/qtvstools/QtHelpLinkChooser.xaml.cs
+++ b/src/qtvstools/QtHelpLinkChooser.xaml.cs
@@ -45,7 +45,7 @@ namespace QtVsTools
Loaded += OnLoaded;
}
- public string Link { get; private set; }
+ public string Link { get; set; }
public string Keyword { private get; set; }
public Dictionary<string, string> Links { private get; set; }
diff --git a/src/qtvstools/QtHelpMenu.cs b/src/qtvstools/QtHelpMenu.cs
index 9e94c9f0..d66eb793 100644
--- a/src/qtvstools/QtHelpMenu.cs
+++ b/src/qtvstools/QtHelpMenu.cs
@@ -263,7 +263,8 @@ namespace QtVsTools
};
if (!dialog.ShowModal().GetValueOrDefault())
return;
- uri = dialog.Link;
+ uri = dialog.Link
+ .Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
break;
}