Updated UserList
Added refresh pressed signal, to handle refreshing the user list. Keeps filter in place.
This commit is contained in:
parent
9ab602f822
commit
057edb22d5
1 changed files with 7 additions and 0 deletions
|
|
@ -19,6 +19,13 @@ var _filter_name: String = ""
|
|||
func _ready() -> void:
|
||||
%Filter.text_changed.connect(_update_filter_name)
|
||||
%FilterLive.pressed.connect(func(): filtering_live = !filtering_live)
|
||||
%Refresh.pressed.connect(func():
|
||||
clear_list()
|
||||
populate_list()
|
||||
Globals.refresh_live_streamer()
|
||||
filter_list()
|
||||
)
|
||||
Globals.live_streamers_updated.connect(filter_list)
|
||||
|
||||
func _update_filter_name(txt: String) -> void:
|
||||
_filter_name = txt.to_lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue