From 2e22afbaa5c01d9aa40564a7646092455ce0d88c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 9 Feb 2021 15:29:29 +0100 Subject: Matrix: put an end to my unread messages misery --- include/Body.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/Body.hpp b/include/Body.hpp index 676eef8..1664696 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -186,6 +186,7 @@ namespace QuickMedia { // Select next item, ignoring invisible items. Returns true if the item was changed or if the item scrolled. This can be used to check if the bottom was hit when wrap_around is set to false bool select_next_item(bool scroll_page_if_large_item = true); void set_selected_item(int item, bool reset_prev_selected_item = true); + void reset_prev_selected_item(); // Returns -1 if item can't be found int get_index_by_body_item(BodyItem *body_item); -- cgit v1.2.3