diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-28 21:19:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-28 21:19:11 +0200 |
commit | da9836a92ef69bb93e521985976db0322e2d5316 (patch) | |
tree | a44f09a0158f94812f887e53c7780e203c787ea9 /plugins | |
parent | 60f22a9cba69a8443ed1442c5294a0102ed6f1a3 (diff) |
Fix submit without selected item (in matrix room directory and invites page)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Page.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |