@@ -360,49 +360,49 @@ public string QueryText
360
360
[ RelayCommand ]
361
361
private void IncreaseWidth ( )
362
362
{
363
- if ( MainWindowWidth + 100 > 1920 || _settings . WindowSize == 1920 )
363
+ if ( MainWindowWidth + 100 > 1920 || Settings . WindowSize == 1920 )
364
364
{
365
- _settings . WindowSize = 1920 ;
365
+ Settings . WindowSize = 1920 ;
366
366
}
367
367
else
368
- {
369
- _settings . WindowSize += 100 ;
370
- _settings . WindowLeft -= 50 ;
368
+ {
369
+ Settings . WindowSize += 100 ;
370
+ Settings . WindowLeft -= 50 ;
371
371
}
372
372
OnPropertyChanged ( ) ;
373
373
}
374
374
375
375
[ RelayCommand ]
376
376
private void DecreaseWidth ( )
377
377
{
378
- if ( MainWindowWidth - 100 < 400 || _settings . WindowSize == 400 )
378
+ if ( MainWindowWidth - 100 < 400 || Settings . WindowSize == 400 )
379
379
{
380
- _settings . WindowSize = 400 ;
380
+ Settings . WindowSize = 400 ;
381
381
}
382
382
else
383
- {
384
- _settings . WindowLeft += 50 ;
385
- _settings . WindowSize -= 100 ;
383
+ {
384
+ Settings . WindowLeft += 50 ;
385
+ Settings . WindowSize -= 100 ;
386
386
}
387
387
OnPropertyChanged ( ) ;
388
388
}
389
389
390
390
[ RelayCommand ]
391
391
private void IncreaseMaxResult ( )
392
392
{
393
- if ( _settings . MaxResultsToShow == 17 )
393
+ if ( Settings . MaxResultsToShow == 17 )
394
394
return ;
395
395
396
- _settings . MaxResultsToShow += 1 ;
396
+ Settings . MaxResultsToShow += 1 ;
397
397
}
398
398
399
399
[ RelayCommand ]
400
400
private void DecreaseMaxResult ( )
401
401
{
402
- if ( _settings . MaxResultsToShow == 2 )
402
+ if ( Settings . MaxResultsToShow == 2 )
403
403
return ;
404
404
405
- _settings . MaxResultsToShow -= 1 ;
405
+ Settings . MaxResultsToShow -= 1 ;
406
406
}
407
407
408
408
/// <summary>
@@ -482,8 +482,8 @@ private ResultsViewModel SelectedResults
482
482
483
483
public double MainWindowWidth
484
484
{
485
- get => _settings . WindowSize ;
486
- set => _settings . WindowSize = value ;
485
+ get => Settings . WindowSize ;
486
+ set => Settings . WindowSize = value ;
487
487
}
488
488
489
489
public string PluginIconPath { get ; set ; } = null ;
0 commit comments