Fix TabbedContainer not setting tags correctly
This commit is contained in:
parent
ce0bc5be3b
commit
f1ac74dcbc
@ -126,10 +126,10 @@ type tab struct {
|
|||||||
func (this *tab) setActive (active bool) {
|
func (this *tab) setActive (active bool) {
|
||||||
if active {
|
if active {
|
||||||
this.SetRole(tomo.R("objects", "Tab"))
|
this.SetRole(tomo.R("objects", "Tab"))
|
||||||
this.SetTag("active", false)
|
this.SetTag("active", true)
|
||||||
} else {
|
} else {
|
||||||
this.SetRole(tomo.R("objects", "Tab"))
|
this.SetRole(tomo.R("objects", "Tab"))
|
||||||
this.SetTag("active", true)
|
this.SetTag("active", false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user