From 4afa8eb463aa213d6d4480cbc5ec7511b68767c7 Mon Sep 17 00:00:00 2001 From: nordsoft Date: Tue, 30 Aug 2022 07:17:02 +0400 Subject: [PATCH] Adjust scene size --- mapeditor/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapeditor/mainwindow.cpp b/mapeditor/mainwindow.cpp index 1d4f5e870..d853147b6 100644 --- a/mapeditor/mainwindow.cpp +++ b/mapeditor/mainwindow.cpp @@ -139,6 +139,6 @@ void MainWindow::on_actionOpen_triggered() scene->clear(); scene->addPixmap(mapHandler.surface); - + ui->graphicsView->setSceneRect(mapHandler.surface.rect()); }