aboutsummaryrefslogtreecommitdiff
path: root/include/gui/ComboBox.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/ComboBox.hpp')
-rw-r--r--include/gui/ComboBox.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/ComboBox.hpp b/include/gui/ComboBox.hpp
index e501132..96489e6 100644
--- a/include/gui/ComboBox.hpp
+++ b/include/gui/ComboBox.hpp
@@ -19,7 +19,7 @@ namespace gsr {
void draw(mgl::Window &window, mgl::vec2f offset) override;
void add_item(const std::string &text, const std::string &id);
- void set_selected_item(const std::string &id, bool trigger_event = true);
+ void set_selected_item(const std::string &id, bool trigger_event = true, bool trigger_event_even_if_selection_not_changed = true);
const std::string& get_selected_id() const;
mgl::vec2f get_size() override;