From da9836a92ef69bb93e521985976db0322e2d5316 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Jul 2021 21:19:11 +0200 Subject: Fix submit without selected item (in matrix room directory and invites page) --- plugins/Page.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Page.hpp') diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 07d4e0d..6cea186 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -50,7 +50,7 @@ namespace QuickMedia { virtual bool is_single_page() const { return false; } virtual bool is_trackable() const { return false; } virtual bool is_lazy_fetch_page() const { return false; } - // Note: If submit is done without any selection, then the search term is sent as the |title|, not |url|. Submit will only be sent if the input text is not empty or if an item is selected + // Note: If submit is done without any selection, then the search term is sent as the |title| and |url|. Submit will only be sent if the input text is not empty or if an item is selected virtual bool allow_submit_no_selection() const { return false; } // This is used to delay loading of the page. For example if the page relies on an external factor to start loading virtual bool is_ready() { return true; } -- cgit v1.2.3