diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-18 17:57:55 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-18 17:57:55 +0200 |
commit | d10fca5ec99de7f1e9b5cc857f5cc629a6ee0126 (patch) | |
tree | a6986a06d682dd32d171e0e02afdccf6a745311e /src/QuickMedia.cpp | |
parent | 12c59fddcf1201536c3bee8db4e0d6ac8964fde6 (diff) |
Add torrent description
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 01a82c6..417d4ea 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2313,7 +2313,7 @@ namespace QuickMedia { search_bar->onTextUpdateCallback = [this, &update_search_text](const std::string &text) { if(current_plugin->content_list_search_is_filter()) { body->filter_search_fuzzy(text); - body->clamp_selection(); + body->select_first_item(); } else { update_search_text = text; } @@ -2367,7 +2367,7 @@ namespace QuickMedia { if(search_running && search_future.valid() && search_future.wait_for(std::chrono::seconds(0)) == std::future_status::ready) { if(update_search_text.empty()) { body->items = search_future.get(); - body->clamp_selection(); + body->select_first_item(); } else { search_future.get(); } |