QTfrontend/pageplayrecord.cpp
changeset 6009 14f6fc9869f2
parent 5865 35387d27f73a
child 6042 8b5345758f62
--- a/QTfrontend/pageplayrecord.cpp	Sat Sep 24 04:53:53 2011 +0200
+++ b/QTfrontend/pageplayrecord.cpp	Sat Sep 24 16:22:10 2011 +0200
@@ -37,8 +37,6 @@
     pageLayout->setColumnStretch(2, 1);
     pageLayout->setRowStretch(2, 100);
 
-    BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
-
     BtnPlayDemo = new QPushButton(this);
     BtnPlayDemo->setFont(*font14);
     BtnPlayDemo->setText(QPushButton::tr("Play demo"));
@@ -58,6 +56,10 @@
 
     connect(BtnRenameRecord, SIGNAL(clicked()), this, SLOT(renameRecord()));
     connect(BtnRemoveRecord, SIGNAL(clicked()), this, SLOT(removeRecord()));
+
+
+    BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
+    connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
 }
 
 void PagePlayDemo::FillFromDir(RecordType rectype)