]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_graphicview.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / widgets / qg_graphicview.cpp
index 9ddec0fe96d280c2b0475a0930f7d641072de334..6b4e1fba93f4a276afd2f8f0bc2b45610f28e1ff 100644 (file)
@@ -825,8 +825,11 @@ of VectorWorks & etc. as well...
 
        // Draw the snapper first, because we want to be able to see the preview on
        // top of this...
-       if (snapper.Visible())
-               snapper.Draw(this, painter);
+//     if (snapper.Visible())
+//             snapper.Draw(this, painter);
+       // Actually, this code can go into drawIt() instead of here...
+       if (snapperVisible)
+               DrawSnapper(painter);
 
        if (preview.Visible())
                preview.Draw(this, painter);