Commit 85708743 authored by Thorsten Zachmann's avatar Thorsten Zachmann

Fix bug 346430

Make sure the crop tool allways uses the currect image size.

BUG: 346430
parent ce420e97
......@@ -211,6 +211,7 @@ void KisToolCrop::paint(QPainter &painter, const KoViewConverter &converter)
void KisToolCrop::beginPrimaryAction(KoPointerEvent *event)
{
m_finalRect.setCropRect(image()->bounds());
setMode(KisTool::PAINT_MODE);
QPoint pos = convertToPixelCoord(event).toPoint();
......@@ -406,9 +407,6 @@ void KisToolCrop::crop()
} else {
currentImage()->cropImage(cropRect);
}
m_finalRect.setCropRect(image()->bounds());
}
void KisToolCrop::setCropTypeLegacy(int cropType)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment