QTfrontend/drawmapscene.cpp
changeset 7149 08a30dd92900
parent 7146 a822413207c9
child 7298 a5f2fa95e711
--- a/QTfrontend/drawmapscene.cpp	Wed May 23 22:46:37 2012 +0200
+++ b/QTfrontend/drawmapscene.cpp	Tue May 29 22:33:10 2012 +0200
@@ -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);