mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 04:46:45 +02:00
LCL, Win: TabControl, update index, if ShowTabs is set to True
git-svn-id: trunk@42670 -
This commit is contained in:
parent
59d1dc53d2
commit
02b79c9410
@ -505,6 +505,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
Inc(RealIndex);
|
Inc(RealIndex);
|
||||||
end;
|
end;
|
||||||
|
SetPageIndex(ATabControl, ATabControl.PageIndex); // index may not have been updated while pages where hidden
|
||||||
AdjustSizeTabControlPages(ATabControl);
|
AdjustSizeTabControlPages(ATabControl);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user