diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 6dcd8d22d..e2948c540 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -278,12 +278,7 @@ namespace Flow.Launcher InitializeContextMenu(); break; case nameof(Settings.ShowHomePage): - // We should refresh results when these two settings are changed but we cannot do that - // Because the order of the results will change, making the interface look weird - // So we would better refresh results when query text is changed next time - /*case nameof(Settings.ShowHistoryResultsForHomePage): - case nameof(Settings.MaxHistoryResultsToShowForHomePage):*/ - if (string.IsNullOrEmpty(_viewModel.QueryText)) + if (_viewModel.QueryResultsSelected() && string.IsNullOrEmpty(_viewModel.QueryText)) { _viewModel.QueryResults(); } diff --git a/Flow.Launcher/ViewModel/PluginViewModel.cs b/Flow.Launcher/ViewModel/PluginViewModel.cs index 61f6dea33..092896019 100644 --- a/Flow.Launcher/ViewModel/PluginViewModel.cs +++ b/Flow.Launcher/ViewModel/PluginViewModel.cs @@ -82,9 +82,6 @@ namespace Flow.Launcher.ViewModel { PluginPair.Metadata.HomeDisabled = !value; PluginSettingsObject.HomeDiabled = !value; - // We should refresh results when these two settings are changed but we cannot do that - // Because the order of the results will change, making the interface look weird - // So we would better refresh results when query text is changed next time } }