diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-11-21 01:30:35 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-11-21 01:30:35 +0100 |
commit | 93434f5cdf846b8c25de7897286232a17e0c19e1 (patch) | |
tree | e6ad1c1a9227cff059ba6aaf1e0b26faef4591a9 /src/Body.cpp | |
parent | 78f6f8210d76760e3be8d76abe29796a20873e90 (diff) |
Fix clamping of search result in history tab
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index db27214..4976a1f 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -50,6 +50,11 @@ namespace QuickMedia { } } + void Body::select_first_item() { + selected_item = 0; + clamp_selection(); + } + void Body::reset_selected() { selected_item = 0; } |