diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-30 11:16:43 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-30 11:16:43 +0300 |
commit | 965ab7e4394002b3e9af5b65cae3c08f4364f01a (patch) | |
tree | 9fbd736b6163c21f71b5e8579cafef712f4f0deb /src/ui/util.c | |
parent | 9978d46dfe90f7701b90652a7f8500cdd46eaf31 (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.c | 2 |
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); |