X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..7b1c7e44123b9b2626205a89e27b2a4712ea30c6:/ParametersWindow.cpp?ds=sidebyside diff --git a/ParametersWindow.cpp b/ParametersWindow.cpp index 07f96fa..ee98880 100644 --- a/ParametersWindow.cpp +++ b/ParametersWindow.cpp @@ -20,6 +20,7 @@ ParametersWindow::ParametersWindow(AbstractBlock *_block, Parameters *_params, B comboBox = new QComboBox; + cout << "block has " <getParameters().size() << " params" << endl; foreach(BlockParameter *param, block->getParameters()){ comboBox->addItem(param->getName()); } @@ -59,8 +60,7 @@ void ParametersWindow::updateData() type->setText(param->getTypeString()); } -void ParametersWindow::save() -{ +void ParametersWindow::save() { BlockParameter *param = block->getParameters().at(comboBox->currentIndex()); param->setValue(value->text());