--- a/QTfrontend/model/ammoSchemeModel.cpp Sun Feb 15 15:35:46 2015 -0500
+++ b/QTfrontend/model/ammoSchemeModel.cpp Sun Feb 15 21:27:27 2015 -0500
@@ -866,7 +866,7 @@
return;
}
- cfg[42] = cfg[42].mid(1);
+ cfg[cfg.size()-1] = cfg[cfg.size()-1].mid(1);
for(int i = 0; i < cfg.size(); ++i)
netScheme[i] = QVariant(cfg[i]);
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp Sun Feb 15 15:35:46 2015 -0500
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp Sun Feb 15 21:27:27 2015 -0500
@@ -587,7 +587,7 @@
if (sl.size() >= 42)
{
- sl[42].prepend('!');
+ sl[sl.size()-1].prepend('!');
emit paramChanged("SCHEME", sl); // this is a stupid hack for the fact that SCHEME is being sent once, empty. Still need to find out why.
}