QTfrontend/drawmapwidget.cpp
changeset 4556 c7f4eb6cbd0c
parent 4520 e7882bd1a894
child 4560 5d6c7f88db73
--- a/QTfrontend/drawmapwidget.cpp	Sat Dec 18 21:08:02 2010 +0300
+++ b/QTfrontend/drawmapwidget.cpp	Sat Dec 18 21:17:12 2010 +0300
@@ -36,3 +36,10 @@
     if(ui->graphicsView && ui->graphicsView->scene())
         ui->graphicsView->fitInView(ui->graphicsView->scene()->sceneRect(), Qt::KeepAspectRatio);
 }
+
+void DrawMapWidget::showEvent(QShowEvent * event)
+{
+    Q_UNUSED(event);
+
+    resizeEvent(0);
+}