QTfrontend/ui/widget/drawmapwidget.cpp
changeset 6873 30840365af0a
parent 6700 e04da46ee43c
child 6934 14a230552c2e
--- a/QTfrontend/ui/widget/drawmapwidget.cpp	Mon Apr 09 22:01:13 2012 +0400
+++ b/QTfrontend/ui/widget/drawmapwidget.cpp	Mon Apr 09 22:01:36 2012 +0400
@@ -80,6 +80,11 @@
     if(m_scene) m_scene->clearMap();
 }
 
+void DrawMapWidget::setErasing(bool erasing)
+{
+    if(m_scene) m_scene->setErasing(erasing);
+}
+
 void DrawMapWidget::save(const QString & fileName)
 {
     if(m_scene)