tools/drawMapTest/mainwindow.cpp
changeset 4426 969e411c72aa
parent 4425 2314bb0c433d
child 4427 c5193713055f
--- a/tools/drawMapTest/mainwindow.cpp	Sat Nov 27 23:57:31 2010 +0300
+++ b/tools/drawMapTest/mainwindow.cpp	Sun Nov 28 17:23:51 2010 +0300
@@ -10,6 +10,8 @@
 
     DrawMapScene * scene = new DrawMapScene(this);
     ui->graphicsView->setScene(scene);
+
+    connect(ui->pbUndo, SIGNAL(clicked()), scene, SLOT(undo()));
 }
 
 MainWindow::~MainWindow()