Ignore:
Timestamp:
May 10, 2017, 10:25:02 AM (8 years ago)
Author:
chronos
Message:
  • Modified: Show project name without file extension.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r149 r150  
    662662
    663663  Title := '';
    664   if Assigned(Core.AcronymDb) and (ExtractFileName(Core.AcronymDb.FileName) <> '') then begin
    665     Title := ExtractFileName(Core.AcronymDb.FileName);
     664  if Assigned(Core.AcronymDb) and (ExtractFileNameWithoutExt(ExtractFileName(Core.AcronymDb.FileName)) <> '') then begin
     665    Title := ExtractFileNameWithoutExt(ExtractFileName(Core.AcronymDb.FileName));
    666666    if Core.AcronymDb.Modified then Title := Title + ' (' + SModified + ')';
    667667  end;
Note: See TracChangeset for help on using the changeset viewer.