diff --git a/common/lc_mainwindow.cpp b/common/lc_mainwindow.cpp index 09332692..b76ff3ab 100644 --- a/common/lc_mainwindow.cpp +++ b/common/lc_mainwindow.cpp @@ -2015,6 +2015,15 @@ void lcMainWindow::UpdateSelectedObjects(bool SelectionChanged) mPropertiesWidget->Update(Selection, Focus); + if (Focus && Focus->IsPiece()) + { + lcPiece* Piece = (lcPiece*)Focus; + int ColorIndex = Piece->GetColorIndex(); + quint32 ColorCode = lcGetColorCode(ColorIndex); + + PreviewPiece(Piece->mPieceInfo->mFileName, ColorCode, false); + } + QString Message; if ((Selection.GetSize() == 1) && Focus)