Skip to content

Commit

Permalink
Select default facility. Refs #8581.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Dec 11, 2013
1 parent ec91172 commit a73f524
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Code/Mantid/Framework/ICat/src/CatalogLogin.cpp
Expand Up @@ -30,8 +30,9 @@ namespace Mantid
declareProperty("Username","", requireValue,"The username to log into the catalog.");
declareProperty(new Kernel::MaskedProperty<std::string>("Password","", requireValue),
"The password of the related username to use.");
declareProperty("FacilityName", "", boost::make_shared<Kernel::StringListValidator>(Kernel::ConfigService::Instance().getFacilityNames()),
"Select a facility to log in to.");
declareProperty("FacilityName",Mantid::Kernel::ConfigService::Instance().getFacility().name(),
boost::make_shared<Kernel::StringListValidator>(Kernel::ConfigService::Instance().getFacilityNames()),
"Select a facility to log in to.");
}

/// execute the algorithm
Expand Down

0 comments on commit a73f524

Please sign in to comment.