diff options
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r-- | client/macrowindow.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/macrowindow.cc b/client/macrowindow.cc index c439497..649f323 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -34,7 +34,6 @@ #include "messagebox.h" #include "widgets/widget.h" #include "widgets/window.h" -#include "widgetbuilder.h" #include "lua.h" #include "resumewidget.h" @@ -118,6 +117,8 @@ void MacroWindow::initMacro(QDomNode &node) clear(); mainwidget = window; + mainwidget->setValues(); + /* QDomNodeList children = node.childNodes(); // Insert their values (this must be done last for scripts to work properly) @@ -125,6 +126,7 @@ void MacroWindow::initMacro(QDomNode &node) QDomNode child = children.at(i); setValues(child, mainwidget); } + */ if(waschanged == true) macroChanged(); |