aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-05-28 01:47:02 +0200
committerSebastian Geerken <devnull@localhost>2014-05-28 01:47:02 +0200
commit62fd27e851224c15bd41c1b70ad9710e2200c7bb (patch)
tree244d71e4169b504a13a0ad29c500c251541b9d37 /dw/layout.cc
parent935287d467ef8fecd0fe6e0170d7ec8778e73dad (diff)
Introduced Widget::container.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index f9b3f763..998878ca 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -371,8 +371,9 @@ void Layout::addWidget (Widget *widget)
topLevel = widget;
widget->layout = this;
+ widget->container = NULL;
queueResizeList->clear ();
- widget->notifySetAsTopLevel();
+ widget->notifySetAsTopLevel ();
findtextState.setWidget (widget);