Merge branch 'dev' into 'feature/automatiqueValidate'

# Conflicts:
#   mainwindow.cpp
#   mainwindow.h
This commit is contained in:
JOSSERAND GIOVANNI p2405212
2025-06-21 11:22:01 +00:00
3 changed files with 30 additions and 13 deletions
+10
View File
@@ -166,7 +166,12 @@ void MainWindow::addNewPath()
void MainWindow::addNewStep()
{
this->on_validateBtn_clicked();
currentPath->getStep().append(Step());
ui->stepNumber->setMaximum(currentPath->getStep().length());
ui->stepNumber->setSuffix("/" + QString::number(currentPath->getStep().length()));
}
void MainWindow::exportHTMLMap(int index)
{
if (index < 0 || index >= path.size()) {
@@ -995,3 +1000,8 @@ void MainWindow::on_actionFont_color_triggered()
this->setColor();
}
void MainWindow::on_addStep_clicked()
{
this->addNewStep();
}