aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-25 16:31:25 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-25 16:31:25 +0200
commit9aecfa8da5daae017ce3ff21fd6b496fda2a690b (patch)
tree677aa76a7d4c93852201551880dd33d0207c18d6 /include
parente9c88090ed49fbb9e4ae7ec5141ab0714509dc39 (diff)
Submit on suggestion should make the search bar text the selected text
Diffstat (limited to 'include')
-rw-r--r--include/SearchBar.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp
index 528327e..12daf58 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -27,7 +27,7 @@ namespace QuickMedia {
void update();
void onWindowResize(const sf::Vector2f &window_size);
void clear();
- void set_text(const std::string &text);
+ void set_text(const std::string &text, bool update_search = true);
void append_text(const std::string &text_to_add);
void set_position(sf::Vector2f pos);
void set_editable(bool editable);