Skip to content

Commit

Permalink
Update catalogpublish to use correct cell type. Refs #8734.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Jan 21, 2014
1 parent f2db737 commit 2c5df45
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -80,7 +80,7 @@ namespace MantidQt
// Populate the form with investigations that the user can publish to.
for (size_t row = 0; row < workspace->rowCount(); row++)
{
m_uiForm.investigationNumberCb->addItem(QString::fromStdString(boost::lexical_cast<std::string>(workspace->cell<int64_t>(row, 0))));
m_uiForm.investigationNumberCb->addItem(QString::fromStdString(workspace->cell<std::string>(row, 0)));
// Add better tooltip for ease of use (much easier to recall the investigation if title and instrument are also provided).
m_uiForm.investigationNumberCb->setItemData(static_cast<int>(row),
QString::fromStdString("The title of the investigation is: \"" + workspace->cell<std::string>(row, 1) +
Expand Down

0 comments on commit 2c5df45

Please sign in to comment.