diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-09 05:59:39 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-09 05:59:39 +0200 |
commit | 03a228f81f4a7a827a5a383bc16b8a2fb3abadb4 (patch) | |
tree | 19607b44ad01f933fe8d8d76d1bf6d68929de5e3 /src/Body.cpp | |
parent | 4b90946f677c2b073108637b5c0c8efaa8c47deb (diff) |
Fix item selection not working with empty search
Fix history not working on mangatown.
Make image scrolling faster in infinite scroll mode.
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 54134b6..da7152d 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -346,4 +346,12 @@ namespace QuickMedia { item->visible = string_find_case_insensitive(item->title, text); } } + + bool Body::no_items_visible() const { + for(auto &item : items) { + if(item->visible) + return false; + } + return true; + } }
\ No newline at end of file |