Merge branch 'dev' into 'feature/automatiqueValidate'
# Conflicts: # mainwindow.cpp # mainwindow.h
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user