diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r-- | utils/themeeditor/graphics/rbviewport.h | 2 |
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: | |||
64 | void addTextOffset(int height){ textOffset.setY(textOffset.y() + height); } | 64 | void addTextOffset(int height){ textOffset.setY(textOffset.y() + height); } |
65 | void flushText() | 65 | void flushText() |
66 | { | 66 | { |
67 | if(textOffset.x() < 0) | ||
68 | return; | ||
67 | alignLeft(); | 69 | alignLeft(); |
68 | alignRight(); | 70 | alignRight(); |
69 | alignCenter(); | 71 | alignCenter(); |