Commit 20c4de0c authored by Clément Troesch's avatar Clément Troesch
Browse files

Added dynamicConfigStartStop attribute configuration in guiQt/editor/DynamicView.cpp

--HG--
branch : fw4spl_0.8.3
parent 66445fe3
......@@ -118,6 +118,20 @@ void DynamicView::configuring() throw(fwTools::Failed)
{
SLM_TRACE_FUNC();
this->::fwGui::IGuiContainerSrv::initialize();
std::vector< ::fwRuntime::ConfigurationElement::sptr > vectMode =
m_configuration->find("config");
if (!vectMode.empty())
{
::fwRuntime::ConfigurationElement::sptr config = vectMode.at(0);
if (config->hasAttribute("dynamicConfigStartStop"))
{
std::string dynamicConfig = config->getAttributeValue("dynamicConfigStartStop");
m_dynamicConfigStartStop = (dynamicConfig == "true");
}
}
}
//------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment