mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
DisplaySettings: Remove the trailing dot from tooltip and window title
This commit is contained in:
parent
4d477824e0
commit
e2ad59ce06
Notes:
sideshowbarker
2024-07-19 17:19:23 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/e2ad59ce06e Pull-request: https://github.com/SerenityOS/serenity/pull/9272 Reviewed-by: https://github.com/awesomekling
@ -39,7 +39,7 @@
|
||||
|
||||
@GUI::Button {
|
||||
name: "wallpaper_open_button"
|
||||
tooltip: "Select wallpaper from file system."
|
||||
tooltip: "Select wallpaper from file system"
|
||||
text: "Browse..."
|
||||
shrink_to_fit: true
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ void BackgroundSettingsWidget::create_frame()
|
||||
|
||||
auto& button = *find_descendant_of_type_named<GUI::Button>("wallpaper_open_button");
|
||||
button.on_click = [this](auto) {
|
||||
auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.", "/res/wallpapers");
|
||||
auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system", "/res/wallpapers");
|
||||
if (!path.has_value())
|
||||
return;
|
||||
m_wallpaper_view->selection().clear();
|
||||
|
Loading…
Reference in New Issue
Block a user