Skip to content

Commit 81ae8a4

Browse files
Only assign when value is different
1 parent 2e99ff9 commit 81ae8a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,8 @@ public EverythingSortOption SelectedEverythingSortOption
611611
get => Settings.SortOption;
612612
set
613613
{
614+
if (value == Settings.SortOption)
615+
return;
614616
Settings.SortOption = value;
615617
OnPropertyChanged(nameof(SelectedEverythingSortOption));
616618
OnPropertyChanged(nameof(FastSortWarningVisibility));

0 commit comments

Comments
 (0)