From af0aaf36dcde341d5eb43214297df71eefc90829 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Mar 2021 16:02:16 +0200 Subject: SidebarWidget: Keeping track of edited bookmark --- src/ui/sidebarwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/sidebarwidget.c') 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 const iString *tags = text_InputWidget(findChild_Widget(editor, "bmed.tags")); const iString *icon = collect_String(trimmed_String( text_InputWidget(findChild_Widget(editor, "bmed.icon")))); - const iSidebarItem *item = hoverItem_ListWidget(d->list); + const iSidebarItem *item = d->contextItem; iAssert(item); /* hover item cannot have been changed */ iBookmark *bm = get_Bookmarks(bookmarks_App(), item->id); set_String(&bm->title, title); -- cgit v1.2.3