Commit d0370fb1 authored by Leon Do Castelo's avatar Leon Do Castelo
Browse files

Update parametragemodele.cpp

parent 27b83867
Pipeline #79664 passed with stage
in 16 seconds
......@@ -50,7 +50,7 @@ NouveauModele::NouveauModele(QWidget* parent) : QWidget() {
QString descDefaut = "Nouvel automate créé par l'utilisateur";
QLineEdit* description = new QLineEdit(descDefaut);
// nb d'états
QSpinBox* nb_etats = new QSpinBox;
nb_etats = new QSpinBox;
nb_etats->setRange(2, 8);
QSpinBox* etat_defaut = new QSpinBox;
etat_defaut->setRange(0,nb_etats->value()-1);
......
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