diff -r 2adbae321127 -r 208c5671b202 QTfrontend/ammoSchemeModel.cpp --- a/QTfrontend/ammoSchemeModel.cpp Thu Jun 03 23:02:35 2010 +0000 +++ b/QTfrontend/ammoSchemeModel.cpp Fri Jun 04 20:50:24 2010 +0000 @@ -397,12 +397,12 @@ void AmmoSchemeModel::Save() { - fileConfig.beginWriteArray("schemes", schemes.size()); + fileConfig.beginWriteArray("schemes", schemes.size() - numberOfDefaultSchemes); - for (int i = 0; i < schemes.size(); ++i) { + for (int i = 0; i < schemes.size() - numberOfDefaultSchemes; ++i) { fileConfig.setArrayIndex(i); - QList scheme = schemes[i]; + QList scheme = schemes[i + numberOfDefaultSchemes]; for (int k = 0; k < scheme.size(); ++k) fileConfig.setValue(spNames[k], scheme[k]);