QTfrontend/model/ammoSchemeModel.cpp
changeset 13188 16b375b21af1
parent 13026 ca7fdb431b34
parent 12897 fc47fc4af6bd
child 13195 7d9462d49d4c
--- a/QTfrontend/model/ammoSchemeModel.cpp	Tue Mar 13 23:07:58 2018 +0100
+++ b/QTfrontend/model/ammoSchemeModel.cpp	Tue Mar 13 23:19:24 2018 +0100
@@ -974,10 +974,12 @@
         return;
     }
 
+    beginResetModel();
+
     cfg[cfg.size()-1] = cfg[cfg.size()-1].mid(1);
 
     for(int i = 0; i < cfg.size(); ++i)
         netScheme[i] = QVariant(cfg[i]);
 
-    reset();
+    endResetModel();
 }