Ignore:
Timestamp:
Jun 26, 2012, 7:23:47 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Created main UCore unit and moved non visual code from UFormMain to it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UFormSourceCode.pas

    r46 r53  
    3232
    3333uses
    34   UFormMain;
     34  UFormMain, UCore;
    3535
    3636{$R *.lfm}
     
    4040procedure TFormSourceCode.SynEditSourceChange(Sender: TObject);
    4141begin
    42   if FormMain.Project.Active then
     42  if Core.Project.Active then
    4343    ProjectFile.Modified := True;
    4444end;
     
    6161procedure TFormSourceCode.UpdateInterface;
    6262begin
    63   SynEditSource.Enabled := FormMain.Project.Active;
    64   if not FormMain.Project.Active then SynEditSource.ClearAll;
     63  SynEditSource.Enabled := Core.Project.Active;
     64  if not Core.Project.Active then SynEditSource.ClearAll;
    6565end;
    6666
Note: See TracChangeset for help on using the changeset viewer.