From: jucablues Date: Tue, 19 Feb 2008 21:56:47 +0000 (+0000) Subject: initialize default value to zero when it is not provided as parameter to the combobox... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=45a842c3f74e031d6e35f077debb5ad5cb335755;p=inkscape.git initialize default value to zero when it is not provided as parameter to the combobox constructor --- diff --git a/src/ui/widget/combo-enums.h b/src/ui/widget/combo-enums.h index 75760ab12..cab93f557 100644 --- a/src/ui/widget/combo-enums.h +++ b/src/ui/widget/combo-enums.h @@ -47,7 +47,7 @@ public: } ComboBoxEnum(const Util::EnumDataConverter& c, const SPAttributeEnum a = SP_ATTR_INVALID) - : AttrWidget(a), setProgrammatically(false), _converter(c) + : AttrWidget(a, (unsigned int) 0), setProgrammatically(false), _converter(c) { signal_changed().connect(signal_attr_changed().make_slot());