WebPositive - TabManager - fixed off by one error in seemingly unused code.
This commit is contained in:
@@ -847,7 +847,7 @@ void
|
|||||||
TabManager::SelectTab(const BView* containedView)
|
TabManager::SelectTab(const BView* containedView)
|
||||||
{
|
{
|
||||||
int32 tabIndex = TabForView(containedView);
|
int32 tabIndex = TabForView(containedView);
|
||||||
if (tabIndex > 0)
|
if (tabIndex >= 0)
|
||||||
SelectTab(tabIndex);
|
SelectTab(tabIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user