mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Check query results
This commit is contained in:
parent
96bb62af27
commit
13cfbe5430
2 changed files with 1 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue