Small bug I just noticed

This commit is contained in:
ArsenArsen 2017-06-22 17:47:49 +02:00
parent df00c3e3a6
commit bb692e852e
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ CropEditor::CropEditor(QPixmap *image, QObject *parent) : QObject(parent) {
scene->setSceneRect(image->rect());
view->show();
view->resize(pixmapItem->pixmap().width(), pixmapItem->pixmap().height());
view->move(0, 0);
connect(scene, &CropScene::closedWithRect, this, &CropEditor::crop);
}