mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Fix rollbar rendering
We should be calling Render after a refresh, not calling refresh for an infinite loop Fixes #507
This commit is contained in:
parent
e48452dd9d
commit
d59dc6ee5b
@ -54,7 +54,7 @@ func (widget *Widget) Refresh() {
|
|||||||
widget.items = &items.Results
|
widget.items = &items.Results
|
||||||
widget.SetItemCount(len(widget.items.Items))
|
widget.SetItemCount(len(widget.items.Items))
|
||||||
|
|
||||||
widget.Refresh()
|
widget.Render()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------- Unexported Functions -------------------- */
|
/* -------------------- Unexported Functions -------------------- */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user