Fix incorrect view on Windows.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-12-04 00:33:54 +02:00
parent 4da3c9d7a5
commit 454f23a399

View File

@ -248,6 +248,7 @@ void MainWindow::AddPP(const QString &PPName)
// Show best for new PP
ui->view->fitInView(doc->ActiveDrawBoundingRect(), Qt::KeepAspectRatio);
VMainGraphicsView::NewSceneRect(ui->view->scene(), ui->view);
ui->view->NewFactor(ui->view->transform().m11());
ui->actionNewDraw->setEnabled(true);