| # | Line 367 | Line 367 | end; | |
|---|---|---|
| 367 | ||
| 368 | procedure TForm_ToolTemplate.FormActivate(Sender: TObject); | |
| 369 | begin | |
| 370 | < | edit_filtername.SetFocus; |
| 370 | > | if edit_filtername.CanFocus then |
| 371 | > | edit_filtername.SetFocus |
| 372 | > | else |
| 373 | > | if content.CanFocus then |
| 374 | > | content.SetFocus; |
| 375 | end; | |
| 376 | ||
| 377 | procedure TForm_ToolTemplate.FormClose(Sender: TObject; var Action: TCloseAction); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |