From 27c6bdccaff234ebc35dbda23ac79eb570c13ad3 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 14 Feb 2014 14:44:08 +0100 Subject: [PATCH] CComponentsPicture: fix item position x/y position was not assigned here for internal pic_x/pic_y vars. Therefore x/y was ignored. --- src/gui/components/cc_item_picture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_item_picture.cpp b/src/gui/components/cc_item_picture.cpp index 94f7af613..bc8f67472 100644 --- a/src/gui/components/cc_item_picture.cpp +++ b/src/gui/components/cc_item_picture.cpp @@ -153,7 +153,7 @@ void CComponentsPicture::initCCItem() void CComponentsPicture::initPosition() { //using of real x/y values to paint images if this picture object is bound in a parent form - int px = x, py = y; + int px = pic_x = x, py = pic_y = y; if (cc_parent){ px = cc_xr; py = cc_yr;