aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp3
1 files changed, 2 insertions, 1 deletions
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