--- a/QTfrontend/model/ammoSchemeModel.cpp Wed Jan 01 14:16:01 2014 +0400
+++ b/QTfrontend/model/ammoSchemeModel.cpp Wed Jan 01 23:28:24 2014 +0400
@@ -805,6 +805,8 @@
return;
}
+ cfg[42] = cfg[42].mid(1);
+
for(int i = 0; i < cfg.size(); ++i)
netScheme[i] = QVariant(cfg[i]);
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp Wed Jan 01 14:16:01 2014 +0400
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp Wed Jan 01 23:28:24 2014 +0400
@@ -570,7 +570,11 @@
for(int i = 0; i < size; ++i)
sl << schemeData(i).toString();
- if (sl.size()!=1) 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.
+ if (sl.size() >= 42)
+ {
+ sl[42].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.
+ }
if (isEnabled() && bindEntries->isEnabled() && bindEntries->isChecked())
{