diff options
author | deva <deva> | 2009-01-15 07:24:30 +0000 |
---|---|---|
committer | deva <deva> | 2009-01-15 07:24:30 +0000 |
commit | 4497bea2b68a883d1bed72797f27275c833843ea (patch) | |
tree | bba910d80a4384721ae6b13c64afc54735a16a98 /client/widgetbuilder.cc | |
parent | 6a81913f64590c6e49431ce483e00c8fc60573a4 (diff) |
Added isDisabled method to all widget classes and made sure that only enabled widgets send their values on commit.
Diffstat (limited to 'client/widgetbuilder.cc')
-rw-r--r-- | client/widgetbuilder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgetbuilder.cc b/client/widgetbuilder.cc index 848157c..144b2a1 100644 --- a/client/widgetbuilder.cc +++ b/client/widgetbuilder.cc @@ -43,11 +43,11 @@ QVector< Widget* > widgetBuilder(QDomNode xml_node, QWidget *parent, } else if(xml_elem.tagName() == "frame") { if(xml_elem.hasAttribute("caption")) { GroupBox *frame = new GroupBox(xml_elem, macrowindow); - // widgets.push_back(frame); + widgets.push_back(frame); widget = frame; } else { Frame *frame = new Frame(xml_elem, macrowindow); - // widgets.push_back(frame); + widgets.push_back(frame); widget = frame; } |