I select a piece, then I click on "remove unused" length. If I click directly afterwards on another piece, it makes automatically a multiple selection of the 2 pieces.
Expectation: I makes a single selection of the last clicked piece.
This commit is contained in:
parent
2b966a02df
commit
4fe2e9688d
|
@ -612,6 +612,8 @@ void VPSheet::RemoveUnusedLength()
|
||||||
{
|
{
|
||||||
if (not piece.isNull())
|
if (not piece.isNull())
|
||||||
{
|
{
|
||||||
|
piece->SetSelected(false);
|
||||||
|
emit layout->PieceSelectionChanged(piece);
|
||||||
piecesBoundingRect = piecesBoundingRect.united(piece->MappedDetailBoundingRect());
|
piecesBoundingRect = piecesBoundingRect.united(piece->MappedDetailBoundingRect());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user