diff --git a/Wox.Plugin/Result.cs b/Wox.Plugin/Result.cs index 5f6e51421d..d903b40a82 100644 --- a/Wox.Plugin/Result.cs +++ b/Wox.Plugin/Result.cs @@ -91,7 +91,7 @@ namespace Wox.Plugin public List ContextMenu { get; set; } [Obsolete("Use Object initializers instead")] - public Result(string Titles, string IcoPath, string SubTitle = null) + public Result(string Title, string IcoPath, string SubTitle = null) { this.Title = Title; this.IcoPath = IcoPath; diff --git a/Wox/SettingWindow.xaml.cs b/Wox/SettingWindow.xaml.cs index 4b92841013..7e367f926f 100644 --- a/Wox/SettingWindow.xaml.cs +++ b/Wox/SettingWindow.xaml.cs @@ -232,16 +232,13 @@ namespace Wox { if (e.ChangedButton == MouseButton.Left) { - if (e.ChangedButton == MouseButton.Left) + var website = _viewModel.SelectedPlugin.PluginPair.Metadata.Website; + if (!string.IsNullOrEmpty(website)) { - var website = _viewModel.SelectedPlugin.PluginPair.Metadata.Website; - if (!string.IsNullOrEmpty(website)) + var uri = new Uri(website); + if (Uri.CheckSchemeName(uri.Scheme)) { - var uri = new Uri(website); - if (Uri.CheckSchemeName(uri.Scheme)) - { - Process.Start(website); - } + Process.Start(website); } } }