aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/widget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index 5620ebdb..9cf53ec4 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -643,7 +643,7 @@ int Widget::getAvailHeight (bool forceValue)
} else if (parent) {
DBG_OBJ_MSG ("resize", 1, "delegated to parent");
DBG_OBJ_MSG_START ();
- height = quasiParent->getAvailHeightOfChild (this, forceValue);
+ height = parent->getAvailHeightOfChild (this, forceValue);
DBG_OBJ_MSG_END ();
} else /* if (quasiParent) */ {
DBG_OBJ_MSG ("resize", 1, "delegated to quasiParent");