summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-28 00:25:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-28 00:25:51 +0300
commit072b727ae4d072d6c84f3331d78ca5a2ac76d271 (patch)
treea7564263238f35f5838a54f7c5641b56f0749755 /src/gui/widgets/browserbox.cpp
parentf2dba51be00b6c67b6d1b8924cac8019a3bcd000 (diff)
downloadplus-072b727ae4d072d6c84f3331d78ca5a2ac76d271.tar.gz
plus-072b727ae4d072d6c84f3331d78ca5a2ac76d271.tar.bz2
plus-072b727ae4d072d6c84f3331d78ca5a2ac76d271.tar.xz
plus-072b727ae4d072d6c84f3331d78ca5a2ac76d271.zip
Fix typo in browserbox after last changes.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-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;
}