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.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp
index 4d90f1f9c..3feaf08c0 100644
--- a/src/gui/widgets/textpreview.cpp
+++ b/src/gui/widgets/textpreview.cpp
@@ -56,7 +56,12 @@ TextPreview::TextPreview(const Widget2 *const widget,
if (instances == 0)
{
if (theme != nullptr)
- mSkin = theme->load("textpreview.xml", "");
+ {
+ mSkin = theme->load("textpreview.xml",
+ "",
+ true,
+ theme->getThemePath());
+ }
}
instances++;