validate path before save (fix #1869)

This commit is contained in:
jhdxr
2018-12-22 14:07:42 +08:00
parent 3dd7a82dcc
commit 3fddb77564
4 changed files with 15 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ namespace Wox.Plugin.Program
private void btnAddProgramSource_OnClick(object sender, RoutedEventArgs e)
{
var add = new AddProgramSource(_settings);
var add = new AddProgramSource(context, _settings);
if(add.ShowDialog() ?? false)
{
ReIndexing();