mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Userland: Set Button text using the new String class
This commit is contained in:
parent
b5cb9a9ebb
commit
e39adc4772
49 changed files with 134 additions and 127 deletions
|
@ -112,7 +112,7 @@ FindDialog::FindDialog()
|
|||
auto action = options[i];
|
||||
auto& radio = radio_container.add<GUI::RadioButton>();
|
||||
radio.set_enabled(action.enabled);
|
||||
radio.set_text_deprecated(action.title);
|
||||
radio.set_text(String::from_deprecated_string(action.title).release_value_but_fixme_should_propagate_errors());
|
||||
|
||||
radio.on_checked = [this, i](auto) {
|
||||
m_selected_option = options[i].opt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue