Commit 878a2c97 authored by Leon Do Castelo's avatar Leon Do Castelo
Browse files

Update parametragemodele.cpp

parent f84f7f0c
Pipeline #79810 passed with stage
in 15 seconds
......@@ -429,6 +429,10 @@ void NouveauModele::validerParametrage(){
Automate::getInstance().setDesc(description->text().toStdString());
Automate::getInstance().setYear(annee->text().toInt());
Reseau* reseauInit = new Reseau(9,10);
reseauInit = &reseauInit->setAleatoire();
Automate::getInstance().setReseauInit(*reseauInit);
Automate::getInstance().getFonction().setEtatDefaut(Automate::getInstance().getEnsemble().getEtat(etat_default->value()));
if(liste_voisinage->currentIndex()==-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment