File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ private void InitializeNotifyIcon()
185185 var setting = items . Add ( InternationalizationManager . Instance . GetTranslation ( "iconTraySettings" ) ) ;
186186 setting . Click += ( o , e ) => App . API . OpenSettingDialog ( ) ;
187187 var exit = items . Add ( InternationalizationManager . Instance . GetTranslation ( "iconTrayExit" ) ) ;
188- exit . Click += ( o , e ) => Environment . Exit ( 0 ) ;
188+ exit . Click += ( o , e ) => Close ( ) ;
189189
190190 _notifyIcon . ContextMenuStrip = menu ;
191191 _notifyIcon . MouseClick += ( o , e ) =>
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ private void InitializeKeyCommands()
273273 ReloadPluginDataCommand = new RelayCommand ( _ =>
274274 {
275275 Hide ( ) ;
276-
276+
277277 PluginManager
278278 . ReloadData ( )
279279 . ContinueWith ( _ =>
@@ -315,7 +315,7 @@ public string QueryText
315315 /// <param name="queryText"></param>
316316 public void ChangeQueryText ( string queryText , bool reQuery = false )
317317 {
318- if ( QueryText != queryText )
318+ if ( QueryText != queryText )
319319 {
320320 // re-query is done in QueryText's setter method
321321 QueryText = queryText ;
@@ -696,7 +696,7 @@ private void SetOpenResultModifiers()
696696 OpenResultCommandModifiers = _settings . OpenResultModifiers ?? DefaultOpenResultModifiers ;
697697 }
698698
699- public async void ToggleFlowLauncher ( )
699+ public void ToggleFlowLauncher ( )
700700 {
701701 if ( MainWindowVisibility != Visibility . Visible )
702702 {
You can’t perform that action at this time.
0 commit comments