summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/staticbrowserbox.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/staticbrowserbox.cpp b/src/gui/widgets/staticbrowserbox.cpp
index 8b3106b24..de0d787a7 100644
--- a/src/gui/widgets/staticbrowserbox.cpp
+++ b/src/gui/widgets/staticbrowserbox.cpp
@@ -450,6 +450,12 @@ void StaticBrowserBox::updateHeight()
mLineParts.clear();
uint32_t dataWidth = 0;
+ if (mSeparator)
+ {
+ mSeparator = false;
+ mTextRows.pop_back();
+ }
+
FOR_EACH (TextRowCIter, i, mTextRows)
{
unsigned int x = CAST_U32(mPadding);