This commit is contained in:
Charles Dang 2018-05-05 13:00:10 +11:00
parent a69b330df7
commit f33b33b51c

View file

@ -155,9 +155,9 @@ namespace implementation
{
builder_size_lock::builder_size_lock(const config& cfg)
: builder_styled_widget(cfg)
, content_(nullptr)
, width_(cfg["width"])
, height_(cfg["height"])
, content_(nullptr)
{
VALIDATE(cfg.has_child("widget"), _("No widget defined."));
content_ = create_widget_builder(cfg.child("widget"));