diff options
author | deva <deva> | 2008-08-20 10:28:35 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-20 10:28:35 +0000 |
commit | 3eebecacd576c35605aff01324ec66ad9825b0d7 (patch) | |
tree | a4f58503967707cdc1ecab07a0b15b67d32bdab6 /client/widgets/widget.cc | |
parent | 45702265ce206381bcb02a53b413ad987897b02b (diff) |
Fixed various small bugs.
Diffstat (limited to 'client/widgets/widget.cc')
-rw-r--r-- | client/widgets/widget.cc | 4 |
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; |