Changeset 41 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jul 14, 2016, 1:15:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r39 r41 516 516 AFileSaveAs.Enabled := Assigned(AcronymDb); 517 517 AManualImport.Enabled := Assigned(AcronymDb); 518 AProcessImports.Enabled := Assigned(AcronymDb); 518 519 AShowCategories.Enabled := Assigned(AcronymDb); 519 520 AShowAcronyms.Enabled := Assigned(AcronymDb); 521 AShowCategories.Enabled := Assigned(AcronymDb); 520 522 AShowImportSources.Enabled := Assigned(AcronymDb); 523 AShowImportFormats.Enabled := Assigned(AcronymDb); 521 524 ToolBar1.Visible := MenuItemToolbar.Checked; 522 525 523 526 Title := Application.Title; 524 if Assigned(AcronymDb) then Title := Title + ' - ' + ExtractFileName(AcronymDb.FileName); 527 if Assigned(AcronymDb) and (ExtractFileName(AcronymDb.FileName) <> '') then 528 if Assigned(AcronymDb) then Title := Title + ' - ' + ExtractFileName(AcronymDb.FileName); 525 529 if Assigned(AcronymDb) and AcronymDb.Modified then Title := Title + ' (' + SModified + ')'; 526 530 Caption := Title;
Note:
See TracChangeset
for help on using the changeset viewer.