| 253 | } |
| 254 | |
| 255 | void mitk::PersistenceService::SetAutoLoadAndSave(bool autoLoadAndSave) |
| 256 | { |
| 257 | this->Initialize(); |
| 258 | m_AutoLoadAndSave = autoLoadAndSave; |
| 259 | // std::string id = PERSISTENCE_PROPERTYLIST_NAME; //see bug 17729 |
| 260 | std::string id = GetPersistencePropertyListName(); |
| 261 | mitk::PropertyList::Pointer propList = this->GetPropertyList(id); |
| 262 | propList->Set("m_AutoLoadAndSave", m_AutoLoadAndSave); |
| 263 | this->Save(); |
| 264 | } |
| 265 | |
| 266 | void mitk::PersistenceService::AddPropertyListReplacedObserver(PropertyListReplacedObserver *observer) |
| 267 | { |
no test coverage detected