Fixed automatic table resize. This fixes bug #0000023.

This commit is contained in:
Max-Wilhelm Bruker 2010-09-09 09:54:35 +02:00
parent 5ec06b4b27
commit e09060faca
3 changed files with 5 additions and 1 deletions

View file

@ -186,7 +186,7 @@ void TableZone::resizeToContents()
if (xMax < minWidth)
xMax = minWidth;
currentMinimumWidth = xMax + 2 * marginX + 2 * boxLineWidth;
if (currentMinimumWidth > width) {
if (currentMinimumWidth != width) {
prepareGeometryChange();
width = currentMinimumWidth;
emit sizeChanged();