Skip to content
Snippets Groups Projects
Commit 36a4cee4 authored by Olivier Langella's avatar Olivier Langella
Browse files

problem updating ptm islands

parent ff92760c
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,8 @@ void IdentificationGroup::startGrouping (const GroupingType & grouping_type) {
}
if (_p_grp_ptm_experiment != nullptr) {
startPtmGrouping();
delete _p_grp_ptm_experiment;
_p_grp_ptm_experiment = nullptr;
}
qDebug() << "IdentificationGroup::startGrouping end ";
}
......
......@@ -99,12 +99,13 @@ void PtmIslandListWindow::setIdentificationGroup(IdentificationGroup * p_identif
void PtmIslandListWindow::doIdentificationPtmGroupGrouped(IdentificationGroup * p_identification_group) {
qDebug() << "PtmIslandListWindow::doIdentificationPtmGroupGrouped begin";
if (_p_identification_group == p_identification_group) {
ui->ptm_island_tableview->resizeRowToContents(0);
//_protein_table_model_p->setIdentificationGroup(p_identification_group);
//_p_proxy_model->setSourceModel(_protein_table_model_p);
_ptm_table_model_p->setIdentificationGroup(p_identification_group);
emit ptmIslandDataChanged();
ui->ptm_island_tableview->resizeRowToContents(_ptm_table_model_p->rowCount());
//ui->ptm_island_tableview->resizeRowToContents(_ptm_table_model_p->rowCount());
}
qDebug() << "PtmIslandListWindow::doIdentificationPtmGroupGrouped end";
......
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