Browser bookmarks update display and remove apply button

This commit is contained in:
Jeremy Wu
2019-11-11 22:29:15 +11:00
parent f77cd9bd52
commit 205b505242
2 changed files with 6 additions and 12 deletions

View File

@@ -30,11 +30,6 @@ namespace Wox.Plugin.BrowserBookmark.Views
_settings.OpenInNewBrowserWindow = false;
}
private void OnApplyBTClick(object sender, RoutedEventArgs e)
{
_settings.BrowserPath = browserPathBox.Text;
}
private void OnChooseClick(object sender, RoutedEventArgs e)
{
var fileBrowserDialog = new OpenFileDialog();
@@ -44,6 +39,7 @@ namespace Wox.Plugin.BrowserBookmark.Views
if (fileBrowserDialog.ShowDialog() == true)
{
browserPathBox.Text = fileBrowserDialog.FileName;
_settings.BrowserPath = fileBrowserDialog.FileName;
}
}
}