diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 3e57c2b5..603a65cc 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1395,7 +1395,7 @@ static iBool handleBookmarkCreationCommands_SidebarWidget_(iWidget *editor, cons | |||
1395 | const iString *title = text_InputWidget(findChild_Widget(editor, "bmed.title")); | 1395 | const iString *title = text_InputWidget(findChild_Widget(editor, "bmed.title")); |
1396 | const iString *url = text_InputWidget(findChild_Widget(editor, "bmed.url")); | 1396 | const iString *url = text_InputWidget(findChild_Widget(editor, "bmed.url")); |
1397 | const iString *tags = text_InputWidget(findChild_Widget(editor, "bmed.tags")); | 1397 | const iString *tags = text_InputWidget(findChild_Widget(editor, "bmed.tags")); |
1398 | const iString *icon = collect_String(trimmed_String(text_LabelWidget(findChild_Widget(editor, "bmed.icon")))); | 1398 | const iString *icon = collect_String(trimmed_String(text_InputWidget(findChild_Widget(editor, "bmed.icon")))); |
1399 | const uint32_t id = add_Bookmarks(bookmarks_App(), url, title, tags, first_String(icon)); | 1399 | const uint32_t id = add_Bookmarks(bookmarks_App(), url, title, tags, first_String(icon)); |
1400 | if (!isEmpty_String(icon)) { | 1400 | if (!isEmpty_String(icon)) { |
1401 | iBookmark *bm = get_Bookmarks(bookmarks_App(), id); | 1401 | iBookmark *bm = get_Bookmarks(bookmarks_App(), id); |