Browser: Set an icon for the 'Edit Bookmark' Dialog

This commit is contained in:
Karol Kosek 2022-05-04 22:52:44 +02:00 committed by Linus Groh
parent ae28e3ff5c
commit 272cf3cbd5
Notes: sideshowbarker 2024-07-17 11:18:58 +09:00

View file

@ -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() };