diff --git a/src/gui/peptide_list_view/peptidetablemodel.cpp b/src/gui/peptide_list_view/peptidetablemodel.cpp index 9fe229a9b18ea7daeea01e1d22bf0226d1007e59..5f87e18339f12ac19b50a254fd8f2bf67c46ed11 100644 --- a/src/gui/peptide_list_view/peptidetablemodel.cpp +++ b/src/gui/peptide_list_view/peptidetablemodel.cpp @@ -24,6 +24,7 @@ #include "peptidetablemodel.h" #include <QDebug> +#include <pappsomspp/grouping/grppeptide.h> PeptideTableProxyModel::PeptideTableProxyModel(QObject *parent,PeptideTableModel* peptide_table_model_p): QSortFilterProxyModel(parent) @@ -151,7 +152,7 @@ QVariant PeptideTableModel::data(const QModelIndex &index, int role ) const { return QVariant(); } if (col == 1) { - return _p_protein_match->getPeptideMatchList().at(row)->getIdentificationDataSource()->getResourceName(); + return _p_protein_match->getPeptideMatchList().at(row)->getGrpPeptideSp().get()->getGroupingId(); } if (col == 2) { return _p_protein_match->getPeptideMatchList().at(row)->getIdentificationDataSource()->getResourceName();