minor signal fail fix
authorsheepluva
Sat, 22 Oct 2011 10:59:06 +0200
changeset 6183 46895724fd7f
parent 6182 d56d18802481
child 6184 335ece2bce9c
minor signal fail fix
QTfrontend/ui/page/pagetraining.cpp
--- a/QTfrontend/ui/page/pagetraining.cpp	Sat Oct 22 10:52:07 2011 +0200
+++ b/QTfrontend/ui/page/pagetraining.cpp	Sat Oct 22 10:59:06 2011 +0200
@@ -104,7 +104,7 @@
 void PageTraining::connectSignals()
 {
     connect(lstMissions, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this, SLOT(updateInfo()));
-    connect(lstMissions, SIGNAL(clicked()), this, SLOT(updateInfo()));
+    connect(lstMissions, SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(updateInfo()));
     connect(lstMissions, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(startSelected()));
     connect(btnPreview, SIGNAL(clicked()), this, SLOT(startSelected()));
     connect(btnStart, SIGNAL(clicked()), this, SLOT(startSelected()));