summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-17 09:49:48 +0000
committerdeva <deva>2010-08-17 09:49:48 +0000
commit2a9d0cf8c52a832c04729a4c65f07e6cd24eb19e (patch)
treea36c44b86c16d13718dfdef06b0de2f747292c98 /client/macrowindow.cc
parentc1f4e947c513eada30a04c1c31c43af600b963b3 (diff)
Remove 'language' attribute.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc
index b91a1fd..f0565c9 100644
--- a/client/macrowindow.cc
+++ b/client/macrowindow.cc
@@ -109,10 +109,8 @@ void MacroWindow::initMacro(QDomNode &node)
((ResumeWidget*)collapsedWidget())->setText(resume, state);
} else if(elem.tagName() == "script") {
- if(elem.attribute("language", "lua") == "lua") {
- lua->runScript(elem.text(), NULL, "preload");
- }
-
+ lua->runScript(elem.text(), NULL, "preload");
+
} else if(elem.tagName() == "widgets") {
if(mainwidget) {