mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add reindex when updating plugin.program suffix
This commit is contained in:
parent
dedac39d99
commit
67655d15cc
2 changed files with 7 additions and 2 deletions
|
|
@ -94,8 +94,11 @@ namespace Wox.Plugin.Program
|
|||
|
||||
private void BtnProgramSuffixes_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ProgramSuffixes p = new ProgramSuffixes(context, _settings);
|
||||
p.ShowDialog();
|
||||
var p = new ProgramSuffixes(context, _settings);
|
||||
if (p.ShowDialog() ?? false)
|
||||
{
|
||||
ReIndexing();
|
||||
}
|
||||
}
|
||||
|
||||
private void programSourceView_DragEnter(object sender, DragEventArgs e)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ namespace Wox.Plugin.Program
|
|||
_settings.ProgramSuffixes = tbSuffixes.Text.Split(Settings.SuffixSeperator);
|
||||
string msg = context.API.GetTranslation("wox_plugin_program_update_file_suffixes");
|
||||
MessageBox.Show(msg);
|
||||
|
||||
DialogResult = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue