1
0
Fork 0

Canvas GUI: fix updating canvas on window with decoration.

This commit is contained in:
Thomas Geymayer 2013-07-26 23:42:31 +02:00
parent c3a87f75cd
commit 02e66fd034

View file

@ -122,7 +122,12 @@ namespace canvas
void Window::setCanvasContent(sc::CanvasPtr canvas) void Window::setCanvasContent(sc::CanvasPtr canvas)
{ {
_canvas_content = canvas; _canvas_content = canvas;
setSrcCanvas(canvas);
if( _image_content )
// Placement within decoration canvas
_image_content->setSrcCanvas(canvas);
else
setSrcCanvas(canvas);
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------