summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-30 11:16:43 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-30 11:16:43 +0300
commit965ab7e4394002b3e9af5b65cae3c08f4364f01a (patch)
tree9fbd736b6163c21f71b5e8579cafef712f4f0deb /src/ui/util.c
parent9978d46dfe90f7701b90652a7f8500cdd46eaf31 (diff)
SidebarWidget: Scroll view to newly added items
New bookmarks and folders shouldn't appear outside the visible part of the list.
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 80bd5d44..adca6269 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2694,7 +2694,7 @@ static iBool handleBookmarkCreationCommands_SidebarWidget_(iWidget *editor, cons
2694 if (isSelected_Widget(findChild_Widget(editor, "bmed.tag.linksplit"))) { 2694 if (isSelected_Widget(findChild_Widget(editor, "bmed.tag.linksplit"))) {
2695 addTag_Bookmark(bm, linkSplit_BookmarkTag); 2695 addTag_Bookmark(bm, linkSplit_BookmarkTag);
2696 } 2696 }
2697 postCommand_App("bookmarks.changed"); 2697 postCommandf_App("bookmarks.changed added:%zu", id);
2698 } 2698 }
2699 setupSheetTransition_Mobile(editor, iFalse); 2699 setupSheetTransition_Mobile(editor, iFalse);
2700 destroy_Widget(editor); 2700 destroy_Widget(editor);