diff options
author | deva <deva> | 2010-08-13 09:22:28 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-13 09:22:28 +0000 |
commit | c4ecebb7a1f33acb38d51a82788b071186ff3c19 (patch) | |
tree | 30f0b6fdc550f0724f71926cbfd38d25d22dd7aa /client/macrowindow.cc | |
parent | db2fdbe872cc6c1b224a1c4c735fac4369b3802e (diff) |
setValues recursive. Remove old widgetbuilder files.
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(); |