QTfrontend/ui/widget/drawmapwidget.cpp
changeset 13245 950186baa764
parent 13214 f5d36be88c61
child 14841 b9437746bffb
--- a/QTfrontend/ui/widget/drawmapwidget.cpp	Sat Mar 17 17:47:42 2018 +0100
+++ b/QTfrontend/ui/widget/drawmapwidget.cpp	Sat Mar 17 23:55:32 2018 +0300
@@ -63,6 +63,9 @@
 {
     Q_UNUSED(event);
 
+	if(!m_scene)
+		return;
+		
     int height = this->height();
     int width = this->width();