Changeset 146 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jan 24, 2017, 4:34:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r145 r146 16 16 17 17 TFormMain = class(TForm) 18 AManageAcronym: TAction; 18 19 AFilterSameLetterCase: TAction; 19 20 AFilterSameLength: TAction; … … 44 45 ListViewSort1: TListViewSort; 45 46 MainMenu1: TMainMenu; 47 MenuItem1: TMenuItem; 46 48 MenuItemParam: TMenuItem; 47 49 MenuItem10: TMenuItem; … … 71 73 PanelParam: TPanel; 72 74 PanelMain: TPanel; 75 PopupMenuFilter: TPopupMenu; 73 76 PopupMenuOpenRecent: TPopupMenu; 74 77 SaveDialog1: TSaveDialog; … … 100 103 procedure AHideExecute(Sender: TObject); 101 104 procedure AImportExecute(Sender: TObject); 105 procedure AManageAcronymExecute(Sender: TObject); 102 106 procedure AProcessImportsExecute(Sender: TObject); 103 107 procedure ASettingsExecute(Sender: TObject); … … 320 324 end; 321 325 326 procedure TFormMain.AManageAcronymExecute(Sender: TObject); 327 begin 328 FormAcronyms := TFormAcronyms.Create(Self); 329 try 330 if Assigned(ListViewAcronyms.Selected) then 331 FormAcronyms.FocusAcronym := ListViewAcronyms.Selected.Data; 332 FormAcronyms.ShowModal; 333 UpdateAcronymsList; 334 UpdateInterface; 335 finally 336 FreeAndNil(FormAcronyms); 337 end; 338 end; 339 322 340 procedure TFormMain.AProcessImportsExecute(Sender: TObject); 323 341 begin
Note:
See TracChangeset
for help on using the changeset viewer.