QTfrontend/drawmapscene.cpp
changeset 7146 a822413207c9
parent 6952 7f70f37bbf08
child 7298 a5f2fa95e711
--- a/QTfrontend/drawmapscene.cpp	Mon May 28 22:42:59 2012 +0400
+++ b/QTfrontend/drawmapscene.cpp	Tue May 29 22:21:19 2012 +0400
@@ -271,7 +271,8 @@
 
             quint8 penWidth = flags & 0x3f;
             m_pen.setWidth(deserializePenWidth(penWidth));
-            if(flags & 0x40)
+            params.erasing = flags & 0x40;
+            if(params.erasing)
                 m_pen.setBrush(m_eraser);
             else
                 m_pen.setBrush(m_brush);