LCL, Win: TabControl, update index, if ShowTabs is set to True

git-svn-id: trunk@42670 -
This commit is contained in:
martin 2013-09-07 19:40:47 +00:00
parent 59d1dc53d2
commit 02b79c9410

View File

@ -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;