Commit 7346c3ae authored by Anthony Noir's avatar Anthony Noir
Browse files

correction : prevstep

parent 535827e8
Pipeline #79262 canceled with stage
......@@ -630,6 +630,7 @@ void MainWindow::on_prevButton_clicked()
QMessageBox::critical(this, "Retour arrière impossible", "L'historique est vide : impossible de revenir en arrière.");
}
ui->grid_view->copy_grid(simulation.getGrid());
ui->nbStepsLabel->setText(QString::number(simulation.getTime())+" steps");
}
void MainWindow::on_playPauseButton_clicked()
......
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