12248,7 → 12248,6 |
uint StartInd = 0; |
m_Selection->delaySignalsOn(); |
PageItem *currItem = m_Selection->itemAt(0); |
int currItemNr = currItem->ItemNr; |
uint EndInd = currItem->PoLine.size(); |
for (uint a = EndInd-1; a > 0; --a) |
{ |
12256,9 → 12255,8 |
{ |
StartInd = a + 1; |
bb = new PageItem_Polygon(*currItem); |
currItemNr++; |
Items->insert(currItemNr, bb); |
bb->ItemNr = currItemNr; |
Items->append(bb); |
bb->ItemNr = Items->count()-1; |
bb->convertTo(PageItem::Polygon); |
bb->Frame = false; |
bb->FrameType = 3; |
12268,7 → 12266,6 |
AdjustItemSize(bb); |
bb->ContourLine = bb->PoLine.copy(); |
bb->ClipEdited = true; |
m_Selection->addItem(bb, false); |
a -= 3; |
EndInd = StartInd - 4; |
} |
12278,7 → 12275,6 |
currItem->ContourLine = currItem->PoLine.copy(); |
currItem->ClipEdited = true; |
m_Selection->delaySignalsOff(); |
renumberItemsInListOrder(); |
//FIXME: stop using m_View |
m_View->Deselect(true); |
regionsChanged()->update(QRectF()); |