diff --git a/src/app/puzzle/scene/vpgraphicspiece.cpp b/src/app/puzzle/scene/vpgraphicspiece.cpp index 9cc74e0f2..46ec8a283 100644 --- a/src/app/puzzle/scene/vpgraphicspiece.cpp +++ b/src/app/puzzle/scene/vpgraphicspiece.cpp @@ -447,7 +447,7 @@ void VPGraphicsPiece::PaintPiece(QPainter *painter) if (painter != nullptr) { painter->save(); - painter->setBrush(isSelected() ? selectionBrush : noBrush); + painter->setBrush(piece->IsSelected() ? selectionBrush : noBrush); painter->drawPath(m_cuttingLine); painter->restore(); }