Fix regression introduced in 16e486e.

Explicitly select the first tab if the caller hasn't done so by the time
we're attached to the window.
This commit is contained in:
Rene Gollent
2013-06-29 14:39:20 -04:00
parent cb630dde78
commit eaedb2f8a4
+2 -1
View File
@@ -569,7 +569,8 @@ BTabView::AttachedToWindow()
{
BView::AttachedToWindow();
Select(fSelection);
if (fSelection < 0)
Select(0);
}