mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
IDE: Fixes for codeexplorer "category" mode. Issue #19988, patch from Anton
git-svn-id: trunk@31997 -
This commit is contained in:
parent
f89932be90
commit
eac2d643be
@ -918,6 +918,13 @@ begin
|
||||
ShowChilds:=false;
|
||||
end;
|
||||
|
||||
// don't show single hint modifiers
|
||||
if (CodeNode.Desc = ctnHintModifier) and (ParentViewNode = nil) then
|
||||
begin
|
||||
ShowNode:=false;
|
||||
ShowChilds:=false;
|
||||
end;
|
||||
|
||||
// category mode: put nodes in categories
|
||||
Category:=cecNone;
|
||||
if ShowNode
|
||||
@ -948,7 +955,8 @@ begin
|
||||
fCategoryNodes[Category].ImageIndex:=NodeImageIndex;
|
||||
fCategoryNodes[Category].SelectedIndex:=NodeImageIndex;
|
||||
end;
|
||||
ParentViewNode:=fCategoryNodes[Category];
|
||||
if not Assigned(ParentViewNode) then
|
||||
ParentViewNode:=fCategoryNodes[Category];
|
||||
InFrontViewNode:=nil;
|
||||
end;
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user