summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 42e568eb2..007f2afa7 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -896,7 +896,7 @@ void BrowserBox::updateHeight()
|| mTextRows.size() < 3 || !mUpdateTime)
{
mWidth = mDimension.width;
- mHeight = mDimension.height;
+ mHeight = calcHeight();
setHeight(mHeight);
mUpdateTime = cur_time;
}