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 15b4abdc2..51d4efc6c 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -176,7 +176,10 @@ void Button::init()
if (Theme::instance())
{
for (int mode = 0; mode < BUTTON_COUNT; mode ++)
- Theme::instance()->loadRect(button[mode], data[mode]);
+ {
+ Theme::instance()->loadRect(button[mode],
+ data[mode], "button.xml");
+ }
}
updateAlpha();