From 8e79b2e10827f42d76ec61621f2c484f9cdc2551 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 19 May 2021 23:45:27 +0200 Subject: Start on notifications run matrix delegate on main (ui) thread instead of mutex hell --- include/Body.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/Body.hpp') diff --git a/include/Body.hpp b/include/Body.hpp index 9798992..8e571f1 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -231,7 +231,7 @@ namespace QuickMedia { float get_spacing_y() const; // TODO: Highlight the part of the text that matches the search. - void filter_search_fuzzy(const std::string &text); + void filter_search_fuzzy(const std::string &text, bool select_first_if_empty = true); bool no_items_visible() const; @@ -331,5 +331,6 @@ namespace QuickMedia { // TODO: Instead of using this, add functions for modifying |items| and apply the filter on those new items bool items_dirty = false; std::string current_filter; + bool using_filter = false; }; } \ No newline at end of file -- cgit v1.2.3