Skip to content

Commit 1844cda

Browse files
jjw24TBM13
authored andcommitted
Merge pull request Flow-Launcher#3811 from Flow-Launcher/refresh_home_page
Update home page when language changes
1 parent d41a24e commit 1844cda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ private void OnLoaded(object sender, RoutedEventArgs _)
226226
break;
227227
case nameof(Settings.Language):
228228
UpdateNotifyIconText();
229+
if (_settings.ShowHomePage && _viewModel.QueryResultsSelected() && string.IsNullOrEmpty(_viewModel.QueryText))
230+
{
231+
_viewModel.QueryResults();
232+
}
229233
break;
230234
case nameof(Settings.Hotkey):
231235
UpdateNotifyIconText();

0 commit comments

Comments
 (0)