Changeset 54 for trunk/IDE/Forms/UFormSourceCode.pas
- Timestamp:
- Jun 26, 2012, 7:41:11 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UFormSourceCode.pas
r53 r54 40 40 procedure TFormSourceCode.SynEditSourceChange(Sender: TObject); 41 41 begin 42 if Core.Project.Activethen42 if Assigned(Core.Project) then 43 43 ProjectFile.Modified := True; 44 44 end; … … 61 61 procedure TFormSourceCode.UpdateInterface; 62 62 begin 63 SynEditSource.Enabled := Core.Project.Active;64 if not Core.Project.Activethen SynEditSource.ClearAll;63 SynEditSource.Enabled := Assigned(Core.Project); 64 if not Assigned(Core.Project) then SynEditSource.ClearAll; 65 65 end; 66 66
Note:
See TracChangeset
for help on using the changeset viewer.