mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibGUI+Userland: Add _deprecated
suffix to AbstractButton::{set_,}text
This commit is contained in:
parent
61b49daf0a
commit
d32b052f22
30 changed files with 83 additions and 83 deletions
|
@ -234,14 +234,14 @@ void ColorPicker::build_ui()
|
|||
button_container.layout()->add_spacer();
|
||||
|
||||
auto& ok_button = button_container.add<DialogButton>();
|
||||
ok_button.set_text("OK");
|
||||
ok_button.set_text_deprecated("OK");
|
||||
ok_button.on_click = [this](auto) {
|
||||
done(ExecResult::OK);
|
||||
};
|
||||
ok_button.set_default(true);
|
||||
|
||||
auto& cancel_button = button_container.add<DialogButton>();
|
||||
cancel_button.set_text("Cancel");
|
||||
cancel_button.set_text_deprecated("Cancel");
|
||||
cancel_button.on_click = [this](auto) {
|
||||
done(ExecResult::Cancel);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue