From 2acfbf19f27f86163f59fe5ecf10148dd8f50569 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 23 Apr 2020 19:39:23 +1000 Subject: [PATCH] Change to shared command WebSearch --- Flow.Launcher/SettingWindow.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index 36e77e25c..ddb05efb0 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -17,6 +17,7 @@ using Flow.Launcher.Core.Resource; using Flow.Launcher.Infrastructure.Hotkey; using Flow.Launcher.Infrastructure.UserSettings; using Flow.Launcher.Plugin; +using Flow.Launcher.Plugin.SharedCommands; using Flow.Launcher.ViewModel; namespace Flow.Launcher @@ -269,7 +270,7 @@ namespace Flow.Launcher private void OnRequestNavigate(object sender, RequestNavigateEventArgs e) { - Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); + SearchWeb.NewBrowserWindow(e.Uri.AbsoluteUri); e.Handled = true; }