summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-31 12:26:12 +0100
committerMattes D <github@xoft.cz>2014-10-31 12:26:12 +0100
commitc6e8da893e5ccb87555563941d5b4100e370e385 (patch)
tree7e867f3b73773fbe47799ea3d3106dfbfe78de6d /Tools
parentQtBiomeVisualiser: Set start zoom to 25%, just like AMIDST. (diff)
downloadcuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar.gz
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar.bz2
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar.lz
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar.xz
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.tar.zst
cuberite-c6e8da893e5ccb87555563941d5b4100e370e385.zip
Diffstat (limited to 'Tools')
-rw-r--r--Tools/QtBiomeVisualiser/MainWindow.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tools/QtBiomeVisualiser/MainWindow.cpp b/Tools/QtBiomeVisualiser/MainWindow.cpp
index 481e49cea..c6ea8656e 100644
--- a/Tools/QtBiomeVisualiser/MainWindow.cpp
+++ b/Tools/QtBiomeVisualiser/MainWindow.cpp
@@ -288,15 +288,11 @@ void MainWindow::createActions()
{
m_actViewZoom[i] = new QAction(tr("&Zoom %1%").arg(std::floor(m_ViewZooms[i] * 100)), this);
m_actViewZoom[i]->setCheckable(true);
- if ((int)(m_ViewZooms[i] * 16) == 16)
- {
- m_actViewZoom[i]->setChecked(true);
- m_CurrentZoomLevel = i;
- }
m_actViewZoom[i]->setData(QVariant(i));
zoomGroup->addAction(m_actViewZoom[i]);
connect(m_actViewZoom[i], SIGNAL(triggered()), this, SLOT(setViewZoom()));
}
+ m_actViewZoom[m_CurrentZoomLevel]->setChecked(true);
}