Skip to content

Commit

Permalink
refs #4328. Fix conversion error.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Dec 19, 2011
1 parent 057e135 commit 7512142
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Add a workspace from the ADS
*/
void CreateMDWorkspace::addWorkspaceClicked()
{
std::string name = m_uiForm.workspaceSelector->currentText();
std::string name = m_uiForm.workspaceSelector->currentText().toStdString();
if(!name.empty())
{
WorkspaceMemento_sptr candidate(new WorkspaceInADS(name));
Expand Down

0 comments on commit 7512142

Please sign in to comment.