Skip to content

Commit

Permalink
Fix header checkbox for all folder notifications / watched
Browse files Browse the repository at this point in the history
  • Loading branch information
canton7 committed Aug 7, 2021
1 parent 07091b7 commit da90cf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/SyncTrayzor/Pages/Settings/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,12 @@ private void LoadFromSyncthingStartupData()
}

this.FolderSettings.AddRange(folderSettings.OrderBy(x => x.FolderLabel));

this.IsAnyFolderWatchEnabledInSyncthing = this.FolderSettings.Any(x => !x.IsWatchAllowed);

this.UpdateAreAllFoldersWatched();
this.UpdateAreAllFoldersNotified();

this.NotifyOfPropertyChange(nameof(this.FolderSettings));
}

Expand Down
2 changes: 1 addition & 1 deletion src/SyncTrayzor/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1002,4 +1002,4 @@ Please donate to my charity fundraising campaign.</value>
<data name="BarAlertsView_IntelXeGraphics_DismissLink" xml:space="preserve">
<value>Dismiss</value>
</data>
</root>
</root>

0 comments on commit da90cf6

Please sign in to comment.