diff --git a/src/gui/protein_list_view/proteintableproxymodel.cpp b/src/gui/protein_list_view/proteintableproxymodel.cpp
index 507b9f220827c3bf4627acf62b229095f7e0ff4e..ee4ffc0d89476ddb720241cbab1720f9204709d5 100644
--- a/src/gui/protein_list_view/proteintableproxymodel.cpp
+++ b/src/gui/protein_list_view/proteintableproxymodel.cpp
@@ -193,9 +193,9 @@ void ProteinTableProxyModel::onTableClicked(const QModelIndex &index)
     //_protein_table_model_p->onTableClicked(this->mapToSource(index));
     QModelIndex source_index(this->mapToSource(index));
     int row = source_index.row();
-    int col = source_index.column();
+    ProteinListColumn col = (ProteinListColumn) source_index.column();
     ProteinMatch* p_protein_match = _protein_table_model_p->getIdentificationGroup()->getProteinMatchList().at(row);
-    if (col == 0) //add a checkbox to cell(1,0)
+    if (col == ProteinListColumn::checked) //add a checkbox to cell(1,0)
     {
 
         if ( p_protein_match->isChecked()) {
@@ -207,7 +207,7 @@ void ProteinTableProxyModel::onTableClicked(const QModelIndex &index)
         _p_protein_list_window->edited();
     }
     else {
-        if ((col == (std::int8_t) ProteinListColumn::accession)||(col == (std::int8_t) ProteinListColumn::description)) {
+        if ((col == ProteinListColumn::accession)||(col == ProteinListColumn::description)||(col == ProteinListColumn::coverage)) {
             _p_protein_list_window->askProteinDetailView(p_protein_match);
         }
         else {