diff --git a/widgets/itembackground.cpp b/widgets/itembackground.cpp index ccce27124..a41d5f466 100644 --- a/widgets/itembackground.cpp +++ b/widgets/itembackground.cpp @@ -201,6 +201,8 @@ bool ItemBackground::eventFilter(QObject *watched, QEvent *event) event->type() == QEvent::GraphicsSceneMove) { // We need to wait for the parent widget to resize... QTimer::singleShot(0, this, SLOT(refreshCurrentTarget()) ); + } else if (event->type() == QEvent::Show) { + setTargetItem(targetWidget); } }