QTfrontend/pagedrawmap.cpp
changeset 6009 14f6fc9869f2
parent 5907 64ccc6be0ec5
child 6042 8b5345758f62
--- a/QTfrontend/pagedrawmap.cpp	Sat Sep 24 04:53:53 2011 +0200
+++ b/QTfrontend/pagedrawmap.cpp	Sat Sep 24 16:22:10 2011 +0200
@@ -32,7 +32,10 @@
     QPushButton * pbLoad = addButton(tr("Load"), pageLayout, 2, 0);
     QPushButton * pbSave = addButton(tr("Save"), pageLayout, 3, 0);
 
+
     BtnBack = addButton(":/res/Exit.png", pageLayout, 5, 0, true);
+    connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
+
 
     drawMapWidget = new DrawMapWidget(this);
     pageLayout->addWidget(drawMapWidget, 0, 1, 5, 1);