Fix crasher
authorunC0Rr
Sat, 17 Mar 2018 23:55:32 +0300
changeset 13245 950186baa764
parent 13242 0171519e2f13
child 13248 480dcc29391c
Fix crasher
QTfrontend/ui/widget/drawmapwidget.cpp
--- 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();