summaryrefslogtreecommitdiff
path: root/client/widgetbuilder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgetbuilder.cc')
-rw-r--r--client/widgetbuilder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/widgetbuilder.cc b/client/widgetbuilder.cc
index 99294f6..a6b815c 100644
--- a/client/widgetbuilder.cc
+++ b/client/widgetbuilder.cc
@@ -42,9 +42,11 @@ QVector< Widget* > widgetBuilder(QDomNode xml_node, QWidget *parent, MacroWindow
} else if(xml_elem.tagName() == "frame") {
if(xml_elem.hasAttribute("caption")) {
GroupBox *frame = new GroupBox(xml_elem, macrowindow);
+ widgets.push_back(frame);
widget = frame;
} else {
Frame *frame = new Frame(xml_elem, macrowindow);
+ widgets.push_back(frame);
widget = frame;
}