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()
185
185
var setting = items . Add ( InternationalizationManager . Instance . GetTranslation ( "iconTraySettings" ) ) ;
186
186
setting . Click += ( o , e ) => App . API . OpenSettingDialog ( ) ;
187
187
var exit = items . Add ( InternationalizationManager . Instance . GetTranslation ( "iconTrayExit" ) ) ;
188
- exit . Click += ( o , e ) => Environment . Exit ( 0 ) ;
188
+ exit . Click += ( o , e ) => Close ( ) ;
189
189
190
190
_notifyIcon . ContextMenuStrip = menu ;
191
191
_notifyIcon . MouseClick += ( o , e ) =>
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ private void InitializeKeyCommands()
273
273
ReloadPluginDataCommand = new RelayCommand ( _ =>
274
274
{
275
275
Hide ( ) ;
276
-
276
+
277
277
PluginManager
278
278
. ReloadData ( )
279
279
. ContinueWith ( _ =>
@@ -315,7 +315,7 @@ public string QueryText
315
315
/// <param name="queryText"></param>
316
316
public void ChangeQueryText ( string queryText , bool reQuery = false )
317
317
{
318
- if ( QueryText != queryText )
318
+ if ( QueryText != queryText )
319
319
{
320
320
// re-query is done in QueryText's setter method
321
321
QueryText = queryText ;
@@ -696,7 +696,7 @@ private void SetOpenResultModifiers()
696
696
OpenResultCommandModifiers = _settings . OpenResultModifiers ?? DefaultOpenResultModifiers ;
697
697
}
698
698
699
- public async void ToggleFlowLauncher ( )
699
+ public void ToggleFlowLauncher ( )
700
700
{
701
701
if ( MainWindowVisibility != Visibility . Visible )
702
702
{
You can’t perform that action at this time.
0 commit comments