summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 6f5eced3..50294068 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2862,8 +2862,10 @@ iWidget *makeBookmarkEditor_Widget(void) {
2862 constData_Array(folderItems), 2862 constData_Array(folderItems),
2863 size_Array(folderItems))), alignLeft_WidgetFlag), 2863 size_Array(folderItems))), alignLeft_WidgetFlag),
2864 "bmed.folder"); 2864 "bmed.folder");
2865 const uint32_t recentFolderId = recentFolder_Bookmarks(bookmarks_App());
2865 updateDropdownSelection_LabelWidget( 2866 updateDropdownSelection_LabelWidget(
2866 folderButton, format_CStr(" arg:%u", recentFolder_Bookmarks(bookmarks_App()))); 2867 folderButton, format_CStr(" arg:%u", recentFolderId));
2868 setUserData_Object(folderButton, get_Bookmarks(bookmarks_App(), recentFolderId));
2867 } 2869 }
2868 addDialogInputWithHeading_(headings, values, "${dlg.bookmark.tags}", "bmed.tags", iClob(inputs[2] = new_InputWidget(0))); 2870 addDialogInputWithHeading_(headings, values, "${dlg.bookmark.tags}", "bmed.tags", iClob(inputs[2] = new_InputWidget(0)));
2869 addDialogInputWithHeading_(headings, values, "${dlg.bookmark.icon}", "bmed.icon", iClob(inputs[3] = new_InputWidget(1))); 2871 addDialogInputWithHeading_(headings, values, "${dlg.bookmark.icon}", "bmed.icon", iClob(inputs[3] = new_InputWidget(1)));