Fixed another segfault. Do not write code at 4 am.

This commit is contained in:
Sasha Koshka 2024-06-03 02:11:47 -04:00
parent 3e1a3ea5b9
commit 250c3076fb

View File

@ -191,7 +191,7 @@ func (this *box) SetDNDAccept (types ...data.Mime) {
}
func (this *box) SetFocused (focused bool) {
hierarchy := this.parent.getHierarchy()
hierarchy := this.getHierarchy()
if hierarchy == nil {
focusedCopy := focused
this.focusQueued = &focusedCopy