From 59efd18bf220d3727f51112ad2b3a09f32d2bc82 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sun, 1 Mar 2009 21:15:44 -0500 Subject: Fix signal in Game widget --- sigmodr/widgets/GameUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sigmodr/widgets/GameUI.cpp') diff --git a/sigmodr/widgets/GameUI.cpp b/sigmodr/widgets/GameUI.cpp index a7c792f4..9d9fd349 100644 --- a/sigmodr/widgets/GameUI.cpp +++ b/sigmodr/widgets/GameUI.cpp @@ -92,7 +92,7 @@ QWidget* GameUI::Private::makeWidgets(ObjectUI* widget) connect(ui_description, SIGNAL(textChanged(QString)), this, SLOT(descriptionChanged(QString))); connect(ui_singlePlayer, SIGNAL(toggled(bool)), this, SLOT(singlePlayerChanged(bool))); connect(ui_startScript, SIGNAL(valueChanged(Sigcore::Script)), this, SLOT(startScriptChanged(Sigcore::Script))); - connect(ui_typechart, SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(typechartChanged(QModelIndex))); + connect(ui_typechart, SIGNAL(activated(QModelIndex)), this, SLOT(typechartChanged(QModelIndex))); connect(ui_effectiveness, SIGNAL(valueChanged(Sigcore::Fraction)), this, SLOT(effectivenessChanged(Sigcore::Fraction))); return form; } -- cgit