Commit 843e2205 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug when loading configuration files: the points used for the current...

Solved a bug when loading configuration files: the points used for the current filter were not cleared before adding the new ones.
parent 39d1f720
......@@ -209,6 +209,7 @@ void MainGui::on_load_params_pressed(void)
yaml_file = QFileDialog::getOpenFileName(this,tr("Open YAML file"), "./", tr("YAML Files (*.yaml)"));
this->ui->params_file->setText(yaml_file);
this->node->clear_filter();
this->node->load_params(yaml_file.toUtf8().constData());
this->ui->pixel_list->clearContents();
this->ui->pixel_list->setRowCount(0);
......
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