From b4f2787ef695f9957fbf6c8674ef1669d8524b0a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 28 Aug 2021 21:51:25 +0200 Subject: Youtube search: do not clear search input after submitting suggestion --- src/QuickMedia.cpp | 2 -- 1 file changed, 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; } -- cgit v1.2.3