mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 23:19:29 +02:00
parent
cba602c612
commit
e3102ae1be
@ -160,6 +160,7 @@ begin
|
||||
Top:= Self.ClientHeight - Height - 4;
|
||||
Kind:= bkCancel;
|
||||
Anchors:= [akBottom, akRight];
|
||||
Cancel:= true;
|
||||
end;
|
||||
|
||||
OkButton:=TBitBtn.Create(Self);
|
||||
@ -169,6 +170,7 @@ begin
|
||||
Top:= CancelButton.Top;
|
||||
Kind:= bkOk;
|
||||
Anchors:= [akBottom, akRight];
|
||||
Default:= true;
|
||||
end;
|
||||
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 430, 375);
|
||||
|
@ -159,7 +159,6 @@ end;
|
||||
//Select new image file and add in list
|
||||
procedure TImageListEditorDlg.OnClickAdd(Sender: TObject);
|
||||
Var OpenDlg: TOpenDialog;
|
||||
FileName: String;
|
||||
i : Integer;
|
||||
begin
|
||||
Opendlg := TOpenDialog.Create(Self);
|
||||
@ -172,7 +171,6 @@ begin
|
||||
If OpenDlg.Execute then
|
||||
begin
|
||||
fDirName:=ExtractFilePath(OpenDlg.FileName); //save the directory
|
||||
FileName:=OpenDlg.FileName;
|
||||
for i := 0 to OpenDlg.Files.Count - 1 do
|
||||
AddImageToList(OpenDlg.Files[i]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user