Set the top tab every time when adding a new tab. This draws newly stacked tabs correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42495 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -106,8 +106,7 @@ Decorator::AddTab(const char* title, int32 index, BRegion* updateRegion)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (fTopTab == NULL)
|
||||
fTopTab = tab;
|
||||
fTopTab = tab;
|
||||
|
||||
_InvalidateFootprint();
|
||||
return tab;
|
||||
|
||||
Reference in New Issue
Block a user