From a59f924b07d029c4c44e5aa05ca5fc05630bb9d9 Mon Sep 17 00:00:00 2001
From: Raquel Alvarez Banos <raquel.alvarez.banos@gmail.com>
Date: Tue, 17 May 2016 11:24:00 +0100
Subject: [PATCH] Re #16227 Fix a minor bug appearing when clearing the table
 repeatedly

---
 .../src/Reflectometry/GenericDataProcessorPresenter.cpp         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MantidQt/CustomInterfaces/src/Reflectometry/GenericDataProcessorPresenter.cpp b/MantidQt/CustomInterfaces/src/Reflectometry/GenericDataProcessorPresenter.cpp
index 682b0d00401..022eef15d8d 100644
--- a/MantidQt/CustomInterfaces/src/Reflectometry/GenericDataProcessorPresenter.cpp
+++ b/MantidQt/CustomInterfaces/src/Reflectometry/GenericDataProcessorPresenter.cpp
@@ -1195,7 +1195,7 @@ void GenericDataProcessorPresenter::clearSelected() {
       m_model->setData(m_model->index(*row, i), "");
     }
     // 'Group' column
-    m_model->setData(m_model->index(*row, m_columns - 2), getUnusedGroup());
+    m_model->setData(m_model->index(*row, m_columns - 2), getUnusedGroup(ignore));
     // 'Options' column
     m_model->setData(m_model->index(*row, m_columns - 1), "");
   }
-- 
GitLab