Changeset 18 for trunk/UCore.pas
- Timestamp:
- Nov 6, 2017, 1:14:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r15 r18 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, ActnList, Controls, UVCS, UProject, 9 ULastOpenedList, Forms, Dialogs, Contnrs, UBackend;9 ULastOpenedList, Forms, Dialogs, Menus, Contnrs, UBackend; 10 10 11 11 type … … 113 113 begin 114 114 Backends := TObjectList.Create; 115 Project := nil; 115 116 end; 116 117 … … 181 182 XMLConfig1.SetValue('UserName', UserName); 182 183 XMLConfig1.SetValue('Email', Email); 184 XmlConfig1.Flush; 183 185 end; 184 186 … … 186 188 begin 187 189 RegisterBackends; 190 XMLConfig1.Filename := GetAppConfigDir(False) + 'Config.xml'; 191 ForceDirectoriesUTF8(ExtractFileDir(XMLConfig1.Filename)); 188 192 LoadConfig; 189 193 if (LastOpenedListProject.Items.Count > 0) and DirectoryExistsUTF8(LastOpenedListProject.Items[0]) then
Note:
See TracChangeset
for help on using the changeset viewer.