aboutsummaryrefslogtreecommitdiff
path: root/plugins/Youtube.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Youtube.hpp')
-rw-r--r--plugins/Youtube.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index dc604a9..5affe04 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -45,7 +45,7 @@ namespace QuickMedia {
public:
YoutubeSearchPage(Program *program, std::string video_id = "") : LazyFetchPage(program), video_id(std::move(video_id)) {}
const char* get_title() const override { return "Search"; }
- bool search_is_suggestion() override { return true; }
+ bool search_is_suggestion(bool empty_search) override { return !empty_search; }
bool search_is_filter() override { return false; }
SearchResult search(const std::string &str, BodyItems &result_items) override;
PluginResult get_page(const std::string &str, int page, BodyItems &result_items) override;