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:
parent
ae28e3ff5c
commit
272cf3cbd5
1 changed files with 1 additions and 0 deletions
|
@ -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() };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue