mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 13:39:11 +02:00
IDE: view unit/form dialog: fixed ImageIndex
git-svn-id: branches/fixes_1_6@50650 -
This commit is contained in:
parent
0b62f77187
commit
be2d0619b3
@ -49,6 +49,7 @@ uses
|
|||||||
|
|
||||||
type
|
type
|
||||||
TIDEProjectItem = (
|
TIDEProjectItem = (
|
||||||
|
piNone,
|
||||||
piUnit,
|
piUnit,
|
||||||
piComponent,
|
piComponent,
|
||||||
piFrame
|
piFrame
|
||||||
@ -363,21 +364,19 @@ procedure TViewUnitDialog.OnIdle(Sender: TObject; var Done: Boolean);
|
|||||||
case ItemType of
|
case ItemType of
|
||||||
piUnit:
|
piUnit:
|
||||||
begin
|
begin
|
||||||
fFoundFiles[aFilename]:=ExtractFileName(aFilename);
|
|
||||||
end;
|
end;
|
||||||
piComponent:
|
piComponent:
|
||||||
begin
|
begin
|
||||||
CompClass:=FindLFMBaseClass(aFilename);
|
CompClass:=FindLFMBaseClass(aFilename);
|
||||||
if CompClass=pfcbcNone then exit;
|
if CompClass=pfcbcNone then exit;
|
||||||
fFoundFiles[aFilename]:=ExtractFileName(aFilename);
|
|
||||||
end;
|
end;
|
||||||
piFrame:
|
piFrame:
|
||||||
begin
|
begin
|
||||||
CompClass:=FindLFMBaseClass(aFilename);
|
CompClass:=FindLFMBaseClass(aFilename);
|
||||||
if CompClass<>pfcbcFrame then exit;
|
if CompClass<>pfcbcFrame then exit;
|
||||||
fFoundFiles[aFilename]:=ExtractFileName(aFilename);
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
fFoundFiles[aFilename]:=ExtractFileName(aFilename);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure CheckDirectory(aDirectory: string);
|
procedure CheckDirectory(aDirectory: string);
|
||||||
|
Loading…
Reference in New Issue
Block a user