summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r--utils/themeeditor/graphics/rbviewport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index a9b706d95f..c665108618 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -64,6 +64,8 @@ public:
void addTextOffset(int height){ textOffset.setY(textOffset.y() + height); }
void flushText()
{
+ if(textOffset.x() < 0)
+ return;
alignLeft();
alignRight();
alignCenter();