Changeset 657 for cprs/branches/tmg-cprs/CPRS-Chart/Options
- Timestamp:
- Jan 7, 2010, 10:11:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/Options/fOptionsNotes.pas
r541 r657 291 291 begin 292 292 if Value <> DefaultEditHTMLMode then begin 293 OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value); 294 DefaultEditHTMLMode := Value; 293 if OptionsNotesIniFile = nil then begin 294 OptionsNotesIniFile := TIniFile.Create(ChangeFileExt(Application.ExeName, '.INI')); //kt 295 OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value); 296 DefaultEditHTMLMode := Value; 297 OptionsNotesIniFile.Free; 298 OptionsNotesIniFile := nil; 299 end else begin 300 OptionsNotesIniFile.WriteBool(User.Name,DEFAULT_HTML_EDIT_MODE,Value); 301 DefaultEditHTMLMode := Value; 302 end; 295 303 end; 296 304 end;
Note:
See TracChangeset
for help on using the changeset viewer.