Skip to content

Commit

Permalink
Merge pull request #550 from mantidproject/11503_feedback_while_loadi…
Browse files Browse the repository at this point in the history
…ng_projects

Provide feedback while loading project workspaces
  • Loading branch information
DanNixon committed Apr 9, 2015
2 parents 6882c22 + d6a0dcd commit f78e04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/Mantid/MantidUI.cpp
Expand Up @@ -3470,7 +3470,7 @@ void MantidUI::savedatainNexusFormat(const std::string& fileName,const std::stri
Mantid::API::IAlgorithm_sptr alg = createAlgorithm(algorithm);
alg->setPropertyValue("Filename",fileName);
alg->setPropertyValue("InputWorkspace",wsName);
alg->execute();
executeAlgorithmAsync(alg, true /* wait for completion */);
}
catch(...)
{
Expand All @@ -3489,7 +3489,7 @@ void MantidUI::loadWSFromFile(const std::string& wsName, const std::string& file
Mantid::API::IAlgorithm_sptr alg = createAlgorithm("Load");
alg->setPropertyValue("Filename",fileName);
alg->setPropertyValue("OutputWorkspace",wsName);
alg->execute();
executeAlgorithmAsync(alg, true /* wait for completion */);
}
catch(...)
{
Expand Down

0 comments on commit f78e04f

Please sign in to comment.