QTfrontend/model/ammoSchemeModel.cpp
changeset 10826 bc5215b2f9fb
parent 10825 328486855d01
child 11046 47a8c19ecb60
--- 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]);