--- a/QTfrontend/gamecfgwidget.cpp Wed May 20 16:35:27 2009 +0000
+++ b/QTfrontend/gamecfgwidget.cpp Wed May 20 16:43:19 2009 +0000
@@ -246,3 +246,8 @@
emit paramChanged("SCHEME", sl);
}
+
+void GameCFGWidget::resendSchemeData()
+{
+ schemeChanged(GameSchemes->currentIndex());
+}
--- a/QTfrontend/gamecfgwidget.h Wed May 20 16:35:27 2009 +0000
+++ b/QTfrontend/gamecfgwidget.h Wed May 20 16:43:19 2009 +0000
@@ -48,6 +48,7 @@
public slots:
void setParam(const QString & param, const QStringList & value);
void fullNetConfig();
+ void resendSchemeData();
signals:
void paramChanged(const QString & param, const QStringList & value);
--- a/QTfrontend/hwform.cpp Wed May 20 16:35:27 2009 +0000
+++ b/QTfrontend/hwform.cpp Wed May 20 16:43:19 2009 +0000
@@ -871,6 +871,11 @@
connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame()));
connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictJoins()));
connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictTeamAdds()));
+ connect(ui.pageNetGame->pGameCFG->GameSchemes->model(),
+ SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
+ ui.pageNetGame->pGameCFG,
+ SLOT(resendSchemeData())
+ );
}
}