mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibGUI: Add AllowCallback parameter to ComboBox::set_text()
This commit is contained in:
parent
e74e320750
commit
7d6f5f19fd
Notes:
sideshowbarker
2024-07-17 12:00:44 +09:00
Author: https://github.com/AtkinsSJ
Commit: 7d6f5f19fd
Pull-request: https://github.com/SerenityOS/serenity/pull/14006
Reviewed-by: https://github.com/MacDue
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