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:
Clemens Zeidler
2011-07-26 06:34:34 +00:00
parent b7b6df07b8
commit 4154a161ed
-1
View File
@@ -106,7 +106,6 @@ Decorator::AddTab(const char* title, int32 index, BRegion* updateRegion)
return NULL; return NULL;
} }
if (fTopTab == NULL)
fTopTab = tab; fTopTab = tab;
_InvalidateFootprint(); _InvalidateFootprint();