OUT-640: Disable sync for single accounts if disabled globally sync
authorThomas
Tue, 19 Nov 2019 15:28:46 +0100
branchsync
changeset 287207845cc081d9
parent 2869 960273fef08b
child 2873 7981b812045b
OUT-640: Disable sync for single accounts if disabled globally
UI/FormControlOptions.xaml.cs
     1.1 --- a/UI/FormControlOptions.xaml.cs	Tue Nov 19 09:02:28 2019 +0100
     1.2 +++ b/UI/FormControlOptions.xaml.cs	Tue Nov 19 15:28:46 2019 +0100
     1.3 @@ -974,7 +974,7 @@
     1.4              private void ExportKeys()
     1.5              {
     1.6                  /* Read the keys.db and export all keys as binary files to 
     1.7 -                 * PEP_USER_FOLDER\keys\{fpr}.asc. If             
     1.8 +                 * PEP_USER_FOLDER\keys\{fpr}.asc.
     1.9                   */
    1.10                  try
    1.11                  {
    1.12 @@ -1376,7 +1376,8 @@
    1.13                                  // Check if the value was previously overridden
    1.14                                  if (entry.IsSyncEnabledOverridden)
    1.15                                  {
    1.16 -                                    entry.IsSyncEnabledOptionChecked = entry.IsSyncEnabled;
    1.17 +                                    entry.IsSyncEnabled = false;
    1.18 +                                    entry.IsSyncEnabledOptionChecked = false;
    1.19                                  }
    1.20                                  else
    1.21                                  {