[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: koffice/libs/flake/commands
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-11-20 13:16:08
Message-ID: 200911201416.09089.boud () valdyas ! org
[Download RAW message or body]

On Thursday 19 November 2009, Sven Langkamp wrote:
> SVN commit 1051493 by langkamp:
> 
> apply Thomas patch to fix undo/redo after reparenting
> BUG:212209


I think this should be backported. Any objections?

> 
> 
>  M  +1 -0      KoShapeCreateCommand.cpp
> 
> 
> --- trunk/koffice/libs/flake/commands/KoShapeCreateCommand.cpp
>  #1051492:1051493 @@ -66,6 +66,7 @@
>          d->shapeParent->addChild(d->shape);
>      // the parent has to be there when it is added to the
>  KoShapeControllerBase d->controller->addShape(d->shape);
> +    d->shapeParent = d->shape->parent(); // update parent if the
>  'addShape' changed it d->deleteShape = false;
>  }
> 


-- 
Boudewijn Rempt | http://www.valdyas.org
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic