mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:27:35 +00:00
BrowserSettings: Slightly change text for adding a new content filter
Add an ellipsis to the button to add a new domain to indicate an action must be taken after pressing the button. Shorten the label next to the domain text box to be less overly verbose.
This commit is contained in:
parent
d1ad513cb1
commit
8352417278
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ ContentFilterSettingsWidget::ContentFilterSettingsWidget()
|
|||
m_add_new_domain_button->on_click = [&](unsigned) {
|
||||
String text;
|
||||
|
||||
if (GUI::InputBox::show(window(), text, "Enter domain name"sv, "Add domain to Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
|
||||
if (GUI::InputBox::show(window(), text, "Domain:"sv, "Add domain to Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
|
||||
m_domain_list_model->add_domain(move(text));
|
||||
set_modified(true);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
@GUI::Button {
|
||||
name: "add_new_domain_button"
|
||||
fixed_width: 100
|
||||
text: "Add new domain"
|
||||
text: "Add domain..."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue