Changeset 134 for trunk/UCore.pas
- Timestamp:
- Jul 5, 2017, 6:24:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r132 r134 185 185 AnimationSpeed := XMLConfig1.GetValue('AnimationSpeed', 50); 186 186 AutoSaveEnabled := XMLConfig1.GetValue('AutoSave', True); 187 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode( XMLConfig1.GetValue('Language', ''));187 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(String(XMLConfig1.GetValue('Language', ''))); 188 188 ScaleDPI1.DPI := Point(XMLConfig1.GetValue('DPIX', 96), XMLConfig1.GetValue('DPIY', 96)); 189 189 ScaleDPI1.AutoDetect := XMLConfig1.GetValue('DPIAuto', True); … … 192 192 procedure TCore.SaveConfig; 193 193 begin 194 XMLConfig1.SetValue('Language', CoolTranslator1.Language.Code);194 XMLConfig1.SetValue('Language', WideString(CoolTranslator1.Language.Code)); 195 195 LastOpenedList1.SaveToXMLConfig(XMLConfig1, 'RecentFiles'); 196 196 XMLConfig1.SetValue('DevelMode', DevelMode);
Note:
See TracChangeset
for help on using the changeset viewer.