Skip to content
Snippets Groups Projects
Commit 0d465111 authored by Renne Thomas's avatar Renne Thomas
Browse files

Modif centroid group box management

parent ba164b2d
No related branches found
Tags xtpcpp_0.2.31-2
2 merge requests!17Centroid parameters,!16Create centroid parameters interface
......@@ -1518,6 +1518,7 @@ EditTandemPresetDialog::populate()
ui->smwi_line->setText(centroid_parameters.at(1));
ui->intwi_line->setText(centroid_parameters.at(2));
ui->intthre_line->setText(centroid_parameters.at(3));
ui->centroid_group_box->setChecked(true);
}
catch(pappso::ExceptionNotFound &error)
{
......@@ -1583,9 +1584,9 @@ EditTandemPresetDialog::createCentroidParameter()
{
QString centroid_parameter;
bool instru_bool;
ui->instru_res_line->text().toInt(&instru_bool);
ui->instru_res_line->text().toDouble(&instru_bool);
bool intwi_bool;
ui->intwi_line->text().toInt(&intwi_bool);
ui->intwi_line->text().toDouble(&intwi_bool);
bool smowi_bool;
ui->smwi_line->text().toDouble(&smowi_bool);
bool intthre_bool;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment