diff --git a/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml.cs b/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml.cs index c598cc543..e88c9b988 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml.cs @@ -27,7 +27,7 @@ namespace Flow.Launcher.Plugin.Program btnAdd.Content = _context.API.GetTranslation("flowlauncher_plugin_program_add"); } - public AddProgramSource(PluginInitContext context, ProgramSource source, Settings settings) + public AddProgramSource(PluginInitContext context, Settings settings, ProgramSource source) { InitializeComponent(); _context = context; diff --git a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs index 3daf1939f..175cb06a6 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs @@ -160,7 +160,7 @@ namespace Flow.Launcher.Plugin.Program.Views } else { - var add = new AddProgramSource(context, selectedProgramSource, _settings); + var add = new AddProgramSource(context, _settings, selectedProgramSource); if (add.ShowDialog() ?? false) { if (selectedProgramSource.Enabled)