mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibGUI: Add AllowCallback parameter to ComboBox::set_text()
This commit is contained in:
parent
e74e320750
commit
7d6f5f19fd
2 changed files with 3 additions and 3 deletions
|
@ -274,9 +274,9 @@ String ComboBox::text() const
|
|||
return m_editor->text();
|
||||
}
|
||||
|
||||
void ComboBox::set_text(String const& text)
|
||||
void ComboBox::set_text(String const& text, AllowCallback allow_callback)
|
||||
{
|
||||
m_editor->set_text(text);
|
||||
m_editor->set_text(text, allow_callback);
|
||||
}
|
||||
|
||||
void ComboBox::set_only_allow_values_from_model(bool b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue