QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 6983 ede55af89e78
parent 6960 822f8269e13f
child 7258 722e8a0d89dc
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Tue May 01 19:56:55 2012 +0200
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Tue May 01 21:24:04 2012 +0200
@@ -57,6 +57,7 @@
     GBoxOptionsLayout->addWidget(Scripts, 1, 1);
 
     Scripts->setModel(DataManager::instance().gameStyleModel());
+    m_curScript = Scripts->currentText();
     connect(Scripts, SIGNAL(currentIndexChanged(int)), this, SLOT(scriptChanged(int)));
 
     QWidget *SchemeWidget = new QWidget(GBoxOptions);