Ignore:
Timestamp:
12/14/2008 10:59:26 AM (6 years ago)
Author:
lowjoel
Message:

Make the EraserSettings? class a singleton. Stylistically that's more correct (thanks Svante!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/SettingsPanel.cs

    r742 r820  
    148148        private void LoadSettings() 
    149149        { 
    150             EraserSettings settings = new EraserSettings(); 
     150            EraserSettings settings = EraserSettings.Get(); 
    151151            foreach (Object lang in uiLanguage.Items) 
    152152                if (((Language)lang).Name == settings.Language) 
     
    337337        private void saveSettings_Click(object sender, EventArgs e) 
    338338        { 
    339             EraserSettings settings = new EraserSettings(); 
     339            EraserSettings settings = EraserSettings.Get(); 
    340340            ManagerSettings managerSettings = ManagerLibrary.Instance.Settings; 
    341341 
Note: See TracChangeset for help on using the changeset viewer.