Skip to content

Commit b1e352d

Browse files
committed
Update home page when language changes
1 parent 0f510b1 commit b1e352d

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
@@ -284,6 +284,10 @@ private void OnLoaded(object sender, RoutedEventArgs _)
284284
break;
285285
case nameof(Settings.Language):
286286
UpdateNotifyIconText();
287+
if (_settings.ShowHomePage && _viewModel.QueryResultsSelected() && string.IsNullOrEmpty(_viewModel.QueryText))
288+
{
289+
_viewModel.QueryResults();
290+
}
287291
break;
288292
case nameof(Settings.Hotkey):
289293
UpdateNotifyIconText();

0 commit comments

Comments
 (0)