feat: search community on enter

This commit is contained in:
Bnyro 2023-08-10 11:01:44 +02:00
parent 216dc9751f
commit cac731b41e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ impl SimpleComponent for CommunitiesPage {
set_hexpand: true, set_hexpand: true,
set_tooltip_text: Some("Search"), set_tooltip_text: Some("Search"),
set_buffer: &model.community_search_buffer, set_buffer: &model.community_search_buffer,
connect_activate => CommunitiesPageInput::FetchCommunities(model.communities_type, true),
}, },
gtk::Button { gtk::Button {
set_label: "Search", set_label: "Search",