File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ private void OnSourceInitialized(object sender, EventArgs e)
105105
106106 private async void OnLoaded ( object sender , RoutedEventArgs _ )
107107 {
108- // Setup search text box reactiveness
109- SetupSearchTextBoxReactiveness ( _settings . SearchQueryResultsWithDelay ) ;
110-
111108 // Check first launch
112109 if ( _settings . FirstLaunch )
113110 {
@@ -125,6 +122,9 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
125122 welcomeWindow . Show ( ) ;
126123 }
127124
125+ // Initialize search delay
126+ SetupSearchTextBoxReactiveness ( _settings . SearchQueryResultsWithDelay ) ;
127+
128128 // Initialize place holder
129129 SetupPlaceholderText ( ) ;
130130 _viewModel . PlaceholderText = _settings . PlaceholderText ;
@@ -167,7 +167,7 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
167167
168168 // Reset preview
169169 _viewModel . ResetPreview ( ) ;
170-
170+
171171 // Since the default main window visibility is visible, so we need set focus during startup
172172 QueryTextBox . Focus ( ) ;
173173
@@ -1060,7 +1060,7 @@ private void QueryTextBox_KeyUp(object sender, KeyEventArgs e)
10601060 be . UpdateSource ( ) ;
10611061 }
10621062 }
1063-
1063+
10641064 private void QueryTextBox_OnPreviewDragOver ( object sender , DragEventArgs e )
10651065 {
10661066 e . Handled = true ;
You can’t perform that action at this time.
0 commit comments