summaryrefslogtreecommitdiff
path: root/client/widgets/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/widget.cc')
-rw-r--r--client/widgets/widget.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/widget.cc b/client/widgets/widget.cc
index efba31c..de49968 100644
--- a/client/widgets/widget.cc
+++ b/client/widgets/widget.cc
@@ -39,8 +39,8 @@ Widget::Widget(QDomNode &node, MacroWindow *macrowindow)
elem.tagName().toStdString().c_str());
}
- if(elem.hasAttribute("lua")) {
- luaprogram = elem.attribute("lua");
+ if(elem.hasAttribute("script")) {
+ luaprogram = elem.attribute("script");
hasluaprogram = true;
} else {
hasluaprogram = false;