summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index a4f6de473..486ad9ebd 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -887,6 +887,13 @@ void BrowserBox::updateHeight()
}
}
+void BrowserBox::updateSize(const bool always)
+{
+ if (always)
+ mUpdateTime = 0;
+ updateHeight();
+}
+
std::string BrowserBox::getTextAtPos(const int x, const int y) const
{
int textX = 0;