summaryrefslogtreecommitdiff
path: root/client/widgetbuilder.cc
diff options
context:
space:
mode:
authordeva <deva>2008-09-10 08:52:38 +0000
committerdeva <deva>2008-09-10 08:52:38 +0000
commitb1175cefcd9d9e67ee0f9e1b0b91bb8360b510b7 (patch)
tree8d673e7b0c04ac79f17e6b68d8660d22d76c4195 /client/widgetbuilder.cc
parent700fb8b935d6495f458e00d044aa69d893d9a695 (diff)
Added enable/disable methods on frame and groupbox.
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;
}