summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-05-23 21:37:09 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-23 22:01:46 +0200
commitfbbd4c406bf95ef8591f7368baacfad6f4d3f30f (patch)
treeb158bfbddc548edc6c0b51ce157e83d9f239b0a0
parent76447e2d971a143f266401b2a7f7ecb88bf5da97 (diff)
downloadmana-fbbd4c406bf95ef8591f7368baacfad6f4d3f30f.tar.gz
mana-fbbd4c406bf95ef8591f7368baacfad6f4d3f30f.tar.bz2
mana-fbbd4c406bf95ef8591f7368baacfad6f4d3f30f.tar.xz
mana-fbbd4c406bf95ef8591f7368baacfad6f4d3f30f.zip
Fix resetting height of browserbox on /clear.
Patch by QOAL (cherry picked from commit cc2cd67e1c3c3f95485ae4477b6a2f0d255e9163)
-rw-r--r--src/gui/widgets/browserbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index a03d53eb..e4f0774b 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -212,6 +212,7 @@ void BrowserBox::clearRows()
mTextRows.clear();
mLinks.clear();
setWidth(0);
+ setHeight(0);
mSelectedLink = -1;
}