summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r--src/gui/widgets/button.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 25986ef8a..f8ddbc8f4 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -360,7 +360,10 @@ void Button::init()
{
for (int mode = 0; mode < BUTTON_COUNT; mode ++)
{
- Skin *const skin = theme->load(data[mode], "button.xml");
+ Skin *const skin = theme->load(data[mode],
+ "button.xml",
+ true,
+ theme->getThemePath());
if (skin != nullptr)
{
button[mode] = skin;