aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/guiScrollContainer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/guiScrollContainer.h b/src/gui/guiScrollContainer.h
index 9eaa880bf..a0306291e 100644
--- a/src/gui/guiScrollContainer.h
+++ b/src/gui/guiScrollContainer.h
@@ -38,7 +38,11 @@ public:
updateScrolling();
}
- inline void setScrollBar(GUIScrollBar *scrollbar) { m_scrollbar = scrollbar; }
+ inline void setScrollBar(GUIScrollBar *scrollbar)
+ {
+ m_scrollbar = scrollbar;
+ updateScrolling();
+ }
private:
enum OrientationEnum