aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-28 21:51:25 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-28 21:51:25 +0200
commitb4f2787ef695f9957fbf6c8674ef1669d8524b0a (patch)
tree18cd283b5142f16bac14efd526cea424e838db70
parente69e975d16cd80f5494cfe7d566f8ae865ab43cc (diff)
Youtube search: do not clear search input after submitting suggestion
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 5d47f89..9dd8c25 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1940,8 +1940,6 @@ namespace QuickMedia {
tabs[selected_tab].body->set_items(std::move(new_body_items));
tabs[selected_tab].page->submit_body_item = nullptr;
tab_associated_data[selected_tab].search_suggestion_submitted = true;
- if(tabs[selected_tab].search_bar)
- tabs[selected_tab].search_bar->clear();
return;
}