This commit is contained in:
Jim Saxton 2018-02-20 12:42:35 -08:00
parent 6bdc9f5d49
commit 4f91293a4f

View File

@ -807,7 +807,7 @@ void YabInterface::TabSet(const char* id, int num)
myTabView = cast_as(myView->FindView(id), YabTabView);
if(myTabView)
{
if(num=0 && num<=myTabView->CountTabs() && num != myTabView->Selection()+1)
if(num>0 && num<=myTabView->CountTabs() && num != myTabView->Selection()+1)
myTabView->Select(num-1);
w->Unlock();
return;