mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-18 17:40:48 +02:00
Adjust scene size
This commit is contained in:
parent
ab46e8f128
commit
4afa8eb463
@ -139,6 +139,6 @@ void MainWindow::on_actionOpen_triggered()
|
|||||||
|
|
||||||
scene->clear();
|
scene->clear();
|
||||||
scene->addPixmap(mapHandler.surface);
|
scene->addPixmap(mapHandler.surface);
|
||||||
|
ui->graphicsView->setSceneRect(mapHandler.surface.rect());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user