diff options
-rw-r--r-- | dw/tools.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/tools.cc b/dw/tools.cc index 1db83306..8f36069a 100644 --- a/dw/tools.cc +++ b/dw/tools.cc @@ -62,7 +62,7 @@ void SizeParams::forChild (Widget *parent, Widget *child, int xRel, int yRel, for (int i = 0; i < numChildReferences; i++) { Widget *childReference = child->sizeRequestReference (i); if (childReference == parent) { - references[numPos] = childReference; + childParams->references[numPos] = childReference; childParams->x[numPos] = xRel; childParams->y[numPos] = yRel; numPos++; |