]> Shamusworld >> Repos - architektonas/blobdiff - src/applicationwindow.cpp
More polyline upgrading: points and arcs are now editable with the GUI.
[architektonas] / src / applicationwindow.cpp
index 8bbdbc1c5646c8c996fdf33244b0f0995f711fa7..b91177de80d0454b718c94bd51ce39ddf5d559a2 100644 (file)
@@ -1140,7 +1140,8 @@ void ApplicationWindow::ReadSettings(void)
        QPoint pos = settings.value("pos", QPoint(200, 200)).toPoint();
        QSize size = settings.value("size", QSize(400, 400)).toSize();
        drawing->useAntialiasing = settings.value("useAntialiasing", true).toBool();
-       snapToGridAct->setChecked(settings.value("snapToGrid", true).toBool());
+       Global::snapToGrid = settings.value("snapToGrid", true).toBool();
+       snapToGridAct->setChecked(Global::snapToGrid);
        resize(size);
        move(pos);
        restoreState(settings.value("windowState").toByteArray());