~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/ClientUtilities/util/Services/SettingsService.cs

  • Committer: Charlie Poole
  • Date: 2010-12-04 23:06:27 UTC
  • Revision ID: charlie@nunit.org-20101204230627-iwavqka72673819w
Don't convert legacy settings if storage is not writeable

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
                        if ( File.Exists( settingsFile ) )
39
39
                                storage.LoadSettings();
40
 
                        else
 
40
                        else if (writeable)
41
41
                                ConvertLegacySettings();
42
42
                }
43
43