mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 17:19:18 +01:00
packagetabs: fixed opening wrong file due to wrong page index.
git-svn-id: trunk@50495 -
This commit is contained in:
parent
109f61cbec
commit
45d9a68904
@ -761,6 +761,7 @@ begin
|
||||
if (xOldIndex>=0) and (xOldIndex<>xNewIndex) then
|
||||
TCustomTabControl(FNotebook).Pages.Move(xOldIndex, xNewIndex);
|
||||
end;
|
||||
xEditor.UpdateProjectFile; // updates FNewEditorInfo.PageIndex
|
||||
Inc(xNewIndex);
|
||||
xBtn := TPackageTabButton.Create(Self);
|
||||
xBtn.Height := xLbl.Height;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user