mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 21:08:19 +01:00
IDE: fixed jumping to source from the code explorer (bug #8042)
git-svn-id: trunk@10368 -
This commit is contained in:
parent
214f4d229d
commit
36c6291a30
@ -564,7 +564,10 @@ var
|
||||
CodeBuffer: TCodeBuffer;
|
||||
ACodeTool: TCodeTool;
|
||||
begin
|
||||
CurItem:=CodeTreeview.Selected;
|
||||
if tvoAllowMultiselect in CodeTreeview.Options then
|
||||
CurItem:=CodeTreeView.GetFirstMultiSelected
|
||||
else
|
||||
CurItem:=CodeTreeview.Selected;
|
||||
if CurItem=nil then exit;
|
||||
CurNode:=TViewNodeData(CurItem.Data);
|
||||
if CurNode.StartPos<1 then exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user