Skip to content

Commit

Permalink
Refs #10238 Support multi-run rows for group plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jeffery committed Nov 24, 2014
1 parent 9771db7 commit 67655d1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1301,7 +1301,7 @@ namespace MantidQt
std::set<std::string> workspaces;

for(auto row = selectedRows.begin(); row != selectedRows.end(); ++row)
workspaces.insert("IvsQ_" + m_model->data(m_model->index(*row, COL_RUNS)).toString().toStdString());
workspaces.insert("IvsQ_" + getRunNumber(prepareRunWorkspace(m_model->data(m_model->index(*row, COL_RUNS)).toString().toStdString())));

m_view->plotWorkspaces(workspaces);
}
Expand Down Expand Up @@ -1330,7 +1330,7 @@ namespace MantidQt
continue;

//Add this to the list of runs
runsByGroup[group].push_back(m_model->data(m_model->index(row, COL_RUNS)).toString().toStdString());
runsByGroup[group].push_back(getRunNumber(prepareRunWorkspace(m_model->data(m_model->index(row, COL_RUNS)).toString().toStdString())));
}

std::set<std::string> workspaces;
Expand Down

0 comments on commit 67655d1

Please sign in to comment.