summaryrefslogtreecommitdiff
path: root/client/macro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macro.cc')
-rw-r--r--client/macro.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/macro.cc b/client/macro.cc
index dbe34f5..650a352 100644
--- a/client/macro.cc
+++ b/client/macro.cc
@@ -35,7 +35,12 @@
Macro::Macro(QDomNode &n)
{
window = NULL;
+
+ update(n);
+}
+void Macro::update(QDomNode &n)
+{
node = n.cloneNode(true);
QDomElement xml_elem = node.toElement();