mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 12:00:18 +02:00
JCF2, options: set label captions in Format File tab correctly in case file is not found, bug #16897.
git-svn-id: trunk@26572 -
This commit is contained in:
parent
2c2826070c
commit
ec4b8962b9
@ -72,6 +72,10 @@ begin
|
||||
lblFormatFileName.Caption := Format(lisFrFilesFormatFileIs, [lcSet.FormatConfigFileName]);
|
||||
//lblFormatFileName.Caption := PathCompactPath(lblFormatFileName.Canvas.Handle, 'Format file is ' + lcSet.FormatConfigFileName, 450, cpCenter);
|
||||
|
||||
lblDate.Caption := '';
|
||||
lblVersion.Caption := '';
|
||||
lblDescription.Caption := lisFrFilesDescription;
|
||||
|
||||
if not FileExists(lcSet.FormatConfigFileName) then
|
||||
begin
|
||||
lblStatus.Caption := lisFrFilesFileNotFound;
|
||||
@ -95,7 +99,6 @@ begin
|
||||
[FormatDateTime(ShortDateFormat + ' ' + ShortTimeFormat,
|
||||
FormatSettings.WriteDateTime)]);
|
||||
lblVersion.Caption := Format(lisFrFilesVersionThatWroteThisFile, [FormatSettings.WriteVersion]);
|
||||
lblDescription.Caption := lisFrFilesDescription;
|
||||
mDescription.Text := FormatSettings.Description;
|
||||
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user