mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 08:56:18 +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;
|
||||
Inc(RealIndex);
|
||||
end;
|
||||
SetPageIndex(ATabControl, ATabControl.PageIndex); // index may not have been updated while pages where hidden
|
||||
AdjustSizeTabControlPages(ATabControl);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user