summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textpreview.cpp')
-rw-r--r--src/gui/widgets/textpreview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp
index 5c829ecd7..d07ae4e7f 100644
--- a/src/gui/widgets/textpreview.cpp
+++ b/src/gui/widgets/textpreview.cpp
@@ -138,6 +138,11 @@ void TextPreview::draw(Graphics* graphics)
BLOCK_END("TextPreview::draw")
}
+void TextPreview::safeDraw(Graphics* graphics)
+{
+ TextPreview::draw(graphics);
+}
+
void TextPreview::adjustSize()
{
setHeight(getFont()->getHeight() + 2 * mPadding);