mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Browser: Set an icon for the 'Edit Bookmark' Dialog
This commit is contained in:
parent
ae28e3ff5c
commit
272cf3cbd5
Notes:
sideshowbarker
2024-07-17 11:18:58 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/272cf3cbd5 Pull-request: https://github.com/SerenityOS/serenity/pull/13912
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ public:
|
|||
{
|
||||
auto editor = BookmarkEditor::construct(parent_window, title, url);
|
||||
editor->set_title("Edit Bookmark");
|
||||
editor->set_icon(g_icon_bag.bookmark_filled);
|
||||
|
||||
if (editor->exec() == Dialog::ExecOK) {
|
||||
return Vector<JsonValue> { editor->title(), editor->url() };
|
||||
|
|
Loading…
Reference in a new issue