X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fapplicationwindow.cpp;h=b91177de80d0454b718c94bd51ce39ddf5d559a2;hb=dacd9dc2c1ac093e4945f7befaeb5ff1801a0f52;hp=8bbdbc1c5646c8c996fdf33244b0f0995f711fa7;hpb=10cf4c797bed05831e976068b7504908279dc997;p=architektonas diff --git a/src/applicationwindow.cpp b/src/applicationwindow.cpp index 8bbdbc1..b91177d 100644 --- a/src/applicationwindow.cpp +++ b/src/applicationwindow.cpp @@ -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());