summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 07f1908c..dcce724a 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -1231,7 +1231,9 @@ static iBool handleSidebarCommand_SidebarWidget_(iSidebarWidget *d, const char *
1231 arrange_Widget(w->parent); 1231 arrange_Widget(w->parent);
1232 /* BUG: Rearranging because the arrange above didn't fully resolve the height. */ 1232 /* BUG: Rearranging because the arrange above didn't fully resolve the height. */
1233 arrange_Widget(w); 1233 arrange_Widget(w);
1234 updateSize_DocumentWidget(document_App()); 1234 if (!isPortraitPhone_App()) {
1235 updateSize_DocumentWidget(document_App());
1236 }
1235 if (isVisible_Widget(w)) { 1237 if (isVisible_Widget(w)) {
1236 updateItems_SidebarWidget_(d); 1238 updateItems_SidebarWidget_(d);
1237 scrollOffset_ListWidget(d->list, 0); 1239 scrollOffset_ListWidget(d->list, 0);