Fix incorrect view on Windows.
--HG-- branch : develop
This commit is contained in:
parent
4da3c9d7a5
commit
454f23a399
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user