1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

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

View file

@ -33,6 +33,7 @@ public:
{ {
auto editor = BookmarkEditor::construct(parent_window, title, url); auto editor = BookmarkEditor::construct(parent_window, title, url);
editor->set_title("Edit Bookmark"); editor->set_title("Edit Bookmark");
editor->set_icon(g_icon_bag.bookmark_filled);
if (editor->exec() == Dialog::ExecOK) { if (editor->exec() == Dialog::ExecOK) {
return Vector<JsonValue> { editor->title(), editor->url() }; return Vector<JsonValue> { editor->title(), editor->url() };