aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-26 01:10:40 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-26 01:10:40 +0200
commite62b707603ec00fc5192bf702b4bca0ed77501e6 (patch)
tree49e71f28a0ef42ab10872561f72b0e51d86cced6 /src/Body.cpp
parent0a26a319b241978ee317bbe768eb61c4eb7a39d9 (diff)
Add ctrl+b to bookmark manga
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index f9a3717..10f0d86 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -378,6 +378,7 @@ namespace QuickMedia {
for(auto it = items.begin(), end = items.end(); it != end; ++it) {
if(callback(*it)) {
items.erase(it);
+ clamp_selection();
return true;
}
}