diff options
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index fd743c21..2a6f083e 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1867,6 +1867,7 @@ void Textblock::addWidget (core::Widget *widget, core::style::Style *style) } widget->setParent (containingBlock); + widget->setGenerator (this); containingBlock->outOfFlowMgr->addWidget (widget, this); Word *word = addWord (0, 0, 0, false, style); word->content.type = core::Content::WIDGET_OOF_REF; |