From f1ac74dcbc36d81c37cc216f751cc423ad788dda Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 14 Aug 2024 11:45:30 -0400 Subject: [PATCH] Fix TabbedContainer not setting tags correctly --- tabbedcontainer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabbedcontainer.go b/tabbedcontainer.go index 5ab18e1..d1f2cd0 100644 --- a/tabbedcontainer.go +++ b/tabbedcontainer.go @@ -126,10 +126,10 @@ type tab struct { func (this *tab) setActive (active bool) { if active { this.SetRole(tomo.R("objects", "Tab")) - this.SetTag("active", false) + this.SetTag("active", true) } else { this.SetRole(tomo.R("objects", "Tab")) - this.SetTag("active", true) + this.SetTag("active", false) } }