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)
105
105
106
106
private async void OnLoaded ( object sender , RoutedEventArgs _ )
107
107
{
108
- // Setup search text box reactiveness
109
- SetupSearchTextBoxReactiveness ( _settings . SearchQueryResultsWithDelay ) ;
110
-
111
108
// Check first launch
112
109
if ( _settings . FirstLaunch )
113
110
{
@@ -125,6 +122,9 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
125
122
welcomeWindow . Show ( ) ;
126
123
}
127
124
125
+ // Initialize search delay
126
+ SetupSearchTextBoxReactiveness ( _settings . SearchQueryResultsWithDelay ) ;
127
+
128
128
// Initialize place holder
129
129
SetupPlaceholderText ( ) ;
130
130
_viewModel . PlaceholderText = _settings . PlaceholderText ;
@@ -167,7 +167,7 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
167
167
168
168
// Reset preview
169
169
_viewModel . ResetPreview ( ) ;
170
-
170
+
171
171
// Since the default main window visibility is visible, so we need set focus during startup
172
172
QueryTextBox . Focus ( ) ;
173
173
@@ -1060,7 +1060,7 @@ private void QueryTextBox_KeyUp(object sender, KeyEventArgs e)
1060
1060
be . UpdateSource ( ) ;
1061
1061
}
1062
1062
}
1063
-
1063
+
1064
1064
private void QueryTextBox_OnPreviewDragOver ( object sender , DragEventArgs e )
1065
1065
{
1066
1066
e . Handled = true ;
You can’t perform that action at this time.
0 commit comments