mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
ide: don't show observations when mode <> categories in the code explorer tree
git-svn-id: trunk@19595 -
This commit is contained in:
parent
2da1e36c1c
commit
4b4bb3c76b
@ -490,7 +490,8 @@ begin
|
||||
// Let's Invert Mode of Exibition
|
||||
if Mode = cemCategory then
|
||||
SetMode(cemSource)
|
||||
else SetMode(cemCategory);
|
||||
else
|
||||
SetMode(cemCategory);
|
||||
end;
|
||||
|
||||
procedure TCodeExplorerView.OptionsSpeedButtonClick(Sender: TObject);
|
||||
@ -1624,7 +1625,8 @@ begin
|
||||
end else begin
|
||||
CodeTreeview.Items.Clear;
|
||||
CreateIdentifierNodes(ACodeTool,ACodeTool.Tree.Root,nil,nil,true);
|
||||
if cecCodeObserver in CodeExplorerOptions.Categories then
|
||||
if (Mode = cemCategory) and
|
||||
(cecCodeObserver in CodeExplorerOptions.Categories) then
|
||||
CreateObservations(ACodeTool);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user