diff options
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 5aa17140..683f6436 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -36,6 +36,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
36 | #include "listwidget.h" | 36 | #include "listwidget.h" |
37 | #include "keys.h" | 37 | #include "keys.h" |
38 | #include "paint.h" | 38 | #include "paint.h" |
39 | #include "root.h" | ||
39 | #include "scrollwidget.h" | 40 | #include "scrollwidget.h" |
40 | #include "util.h" | 41 | #include "util.h" |
41 | #include "visited.h" | 42 | #include "visited.h" |
@@ -708,7 +709,7 @@ static void itemClicked_SidebarWidget_(iSidebarWidget *d, const iSidebarItem *it | |||
708 | const iGmDocument *doc = document_DocumentWidget(document_App()); | 709 | const iGmDocument *doc = document_DocumentWidget(document_App()); |
709 | const iGmHeading *head = constAt_Array(headings_GmDocument(doc), item->id); | 710 | const iGmHeading *head = constAt_Array(headings_GmDocument(doc), item->id); |
710 | postCommandf_App("document.goto loc:%p", head->text.start); | 711 | postCommandf_App("document.goto loc:%p", head->text.start); |
711 | dismissPortraitPhoneSidebars_Window(get_Window()); | 712 | dismissPortraitPhoneSidebars_Root(get_Root()); |
712 | break; | 713 | break; |
713 | } | 714 | } |
714 | case feeds_SidebarMode: { | 715 | case feeds_SidebarMode: { |