summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-06 16:02:16 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-06 16:02:16 +0200
commitaf0aaf36dcde341d5eb43214297df71eefc90829 (patch)
tree7947dd5e200ce959de7974dfd17725f22eaa3baf /src/ui/sidebarwidget.c
parenteddc86b7b0795fe7c7a82d86f6ee151ccdca229f (diff)
SidebarWidget: Keeping track of edited bookmark
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 2a6b68e2..16895a15 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -704,7 +704,7 @@ iBool handleBookmarkEditorCommands_SidebarWidget_(iWidget *editor, const char *c
704 const iString *tags = text_InputWidget(findChild_Widget(editor, "bmed.tags")); 704 const iString *tags = text_InputWidget(findChild_Widget(editor, "bmed.tags"));
705 const iString *icon = collect_String(trimmed_String( 705 const iString *icon = collect_String(trimmed_String(
706 text_InputWidget(findChild_Widget(editor, "bmed.icon")))); 706 text_InputWidget(findChild_Widget(editor, "bmed.icon"))));
707 const iSidebarItem *item = hoverItem_ListWidget(d->list); 707 const iSidebarItem *item = d->contextItem;
708 iAssert(item); /* hover item cannot have been changed */ 708 iAssert(item); /* hover item cannot have been changed */
709 iBookmark *bm = get_Bookmarks(bookmarks_App(), item->id); 709 iBookmark *bm = get_Bookmarks(bookmarks_App(), item->id);
710 set_String(&bm->title, title); 710 set_String(&bm->title, title);