Commit 4c1b0748 authored by Eugene Pin's avatar Eugene Pin
Browse files

fix bug sur le nombre des etats

parent c62e083d
...@@ -508,10 +508,10 @@ void MainWindow::ui_update_alphabet(const Alphabet &alpha) ...@@ -508,10 +508,10 @@ void MainWindow::ui_update_alphabet(const Alphabet &alpha)
{ {
ui->grid_view->set_alphabet(alpha); ui->grid_view->set_alphabet(alpha);
ui->nbrStateComboBox->clear(); ui->nbrStateComboBox->clear();
std::cout << alpha.taille() << endl;
fflush(stdout);
for (unsigned i = 0; i < alpha.taille(); ++i) for (unsigned i = 0; i < alpha.taille(); ++i)
ui->nbrStateComboBox->addItem(QString::number(i)); ui->nbrStateComboBox->addItem(QString::number(i));
ui->nbrStatesComboBox->clear();
ui->nbrStatesComboBox->addItem(QString::number(alpha.taille()));
} }
void MainWindow::save_grid_configuration() void MainWindow::save_grid_configuration()
......
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