summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);