1
0

QtBiomeVisualiser: Fixed mouse zoom vs menu zoom.

This commit is contained in:
Mattes D 2014-10-28 22:15:42 +01:00
parent 2f0abb73c9
commit 3168a95404

View File

@ -172,7 +172,8 @@ void MainWindow::setViewZoom()
{
return;
}
double newZoom = m_ViewZooms[action->data().toInt()];
m_CurrentZoomLevel = action->data().toInt();
double newZoom = m_ViewZooms[m_CurrentZoomLevel];
m_BiomeView->setZoomLevel(newZoom);
action->setChecked(true);
}