Changeset 7 for trunk/UCore.pas
- Timestamp:
- May 17, 2015, 10:51:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r6 r7 20 20 ACommandCommit: TAction; 21 21 ACommandStatus: TAction; 22 Action1: TAction; 22 23 AProjectClose: TAction; 23 24 ActionList1: TActionList; … … 38 39 procedure AProjectOpenExecute(Sender: TObject); 39 40 procedure AQuitExecute(Sender: TObject); 41 procedure ASettingsExecute(Sender: TObject); 40 42 procedure DataModuleCreate(Sender: TObject); 41 43 procedure DataModuleDestroy(Sender: TObject); … … 60 62 61 63 uses 62 UFormMain, UFormBrowse ;64 UFormMain, UFormBrowse, UFormSettings, UFormCommit; 63 65 64 66 { TCore } … … 67 69 begin 68 70 Application.Terminate; 71 end; 72 73 procedure TCore.ASettingsExecute(Sender: TObject); 74 begin 75 FormSettings.ShowModal; 69 76 end; 70 77 … … 159 166 procedure TCore.ACommandCommitExecute(Sender: TObject); 160 167 begin 161 Project.WorkingCopy.Commit; 168 if FormCommit.ShowModal = mrOk then begin 169 Project.WorkingCopy.Commit(FormCommit.MemoMessage.Lines); 170 end; 162 171 end; 163 172
Note:
See TracChangeset
for help on using the changeset viewer.