@@ -59,8 +59,11 @@ public string Language
5959 get => _language ;
6060 set
6161 {
62- _language = value ;
63- OnPropertyChanged ( ) ;
62+ if ( _language != value )
63+ {
64+ _language = value ;
65+ OnPropertyChanged ( ) ;
66+ }
6467 }
6568 }
6669 private string _theme = Constant . DefaultTheme ;
@@ -69,7 +72,7 @@ public string Theme
6972 get => _theme ;
7073 set
7174 {
72- if ( value != _theme )
75+ if ( _theme != value )
7376 {
7477 _theme = value ;
7578 OnPropertyChanged ( ) ;
@@ -298,9 +301,12 @@ public SearchPrecisionScore QuerySearchPrecision
298301 get => _querySearchPrecision ;
299302 set
300303 {
301- _querySearchPrecision = value ;
302- if ( _stringMatcher != null )
303- _stringMatcher . UserSettingSearchPrecision = value ;
304+ if ( _querySearchPrecision != value )
305+ {
306+ _querySearchPrecision = value ;
307+ if ( _stringMatcher != null )
308+ _stringMatcher . UserSettingSearchPrecision = value ;
309+ }
304310 }
305311 }
306312
@@ -367,13 +373,30 @@ public bool HideNotifyIcon
367373 get => _hideNotifyIcon ;
368374 set
369375 {
370- _hideNotifyIcon = value ;
371- OnPropertyChanged ( ) ;
376+ if ( _hideNotifyIcon != value )
377+ {
378+ _hideNotifyIcon = value ;
379+ OnPropertyChanged ( ) ;
380+ }
372381 }
373382 }
374383 public bool LeaveCmdOpen { get ; set ; }
375384 public bool HideWhenDeactivated { get ; set ; } = true ;
376385
386+ private bool _showAtTopmost = true ;
387+ public bool ShowAtTopmost
388+ {
389+ get => _showAtTopmost ;
390+ set
391+ {
392+ if ( _showAtTopmost != value )
393+ {
394+ _showAtTopmost = value ;
395+ OnPropertyChanged ( ) ;
396+ }
397+ }
398+ }
399+
377400 public bool SearchQueryResultsWithDelay { get ; set ; }
378401 public int SearchDelayTime { get ; set ; } = 150 ;
379402
0 commit comments