Verified Commit 471ae7b6 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

Initialize when click on grid

parent d1c19c43
...@@ -336,6 +336,9 @@ void AutoCell::modifierCellule(const QModelIndex& index) { ...@@ -336,6 +336,9 @@ void AutoCell::modifierCellule(const QModelIndex& index) {
grid->item(i,j)->setText(str_indice); grid->item(i,j)->setText(str_indice);
//réitnitialiser l'automate ou modif du buffer d //réitnitialiser l'automate ou modif du buffer d
Automate::getInstance().reset();
Automate::getInstance().setReseauInit(*Grille);
Automate::getInstance().initialiserBuffer();
} }
void AutoCell::sauvegarderGrille(){ void AutoCell::sauvegarderGrille(){
......
Supports Markdown
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