Changeset 184 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jul 4, 2018, 2:05:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r180 r184 16 16 17 17 TFormMain = class(TForm) 18 ADocumentCheck: TAction; 18 19 AFilterEnabledCategories: TAction; 19 20 AManageAcronym: TAction; … … 48 49 MainMenu1: TMainMenu; 49 50 MenuItem1: TMenuItem; 51 MenuItem2: TMenuItem; 52 MenuItem3: TMenuItem; 50 53 MenuItemShowItemsWithoutFilter: TMenuItem; 51 54 MenuItemStatusBar: TMenuItem; … … 98 101 ToolButton8: TToolButton; 99 102 ToolButton9: TToolButton; 103 procedure ADocumentCheckExecute(Sender: TObject); 100 104 procedure AExitExecute(Sender: TObject); 101 105 procedure AExportExecute(Sender: TObject); … … 175 179 uses 176 180 UFormImport, UFormSettings, UFormCategories, UFormAcronyms, UFormExport, 177 UFormImportSources, UFormAbout, UFormImportFormats, UCore ;181 UFormImportSources, UFormAbout, UFormImportFormats, UCore, UFormCheck; 178 182 179 183 resourcestring … … 240 244 begin 241 245 Close; 246 end; 247 248 procedure TFormMain.ADocumentCheckExecute(Sender: TObject); 249 begin 250 FormCheck := TFormCheck.Create(Self); 251 try 252 FormCheck.LoadConfig; 253 FormCheck.ShowModal; 254 FormCheck.SaveConfig; 255 finally 256 FreeAndNil(FormCheck); 257 end; 242 258 end; 243 259 … … 365 381 if Assigned(ListViewAcronyms.Selected) then 366 382 FormAcronyms.FocusAcronym := ListViewAcronyms.Selected.Data; 383 FormAcronyms.Acronyms := Core.AcronymDb.Acronyms; 367 384 FormAcronyms.ShowModal; 368 385 UpdateAcronymsList; … … 429 446 FormAcronyms := TFormAcronyms.Create(Self); 430 447 try 448 FormAcronyms.Acronyms := Core.AcronymDb.Acronyms; 431 449 FormAcronyms.ShowModal; 432 450 UpdateAcronymsList;
Note:
See TracChangeset
for help on using the changeset viewer.