Commit 660c326c authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX] removed the word "Module" from the module's name

parent 68d56e2c
......@@ -229,7 +229,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
// if it already is running: add it
if ( !WMNavSlices::isRunning() )
{
autoAdd( module, "Navigation Slice Module" );
autoAdd( module, "Navigation Slices" );
}
}
else if ( dataModule->getDataSet()->isA< WDataSetFibers >() )
......@@ -245,13 +245,13 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
}
// nav slices use separate buttons for slice on/off switching
if ( module->getName() == "Navigation Slice Module" )
if ( module->getName() == "Navigation Slices" )
{
boost::shared_ptr< WPropertyBase > prop = module->getProperties2()->findProperty( "showAxial" );
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"showAxial\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"showAxial\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......@@ -267,7 +267,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"showCoronal\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"showCoronal\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......@@ -283,7 +283,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"showSagittal\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"showSagittal\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......@@ -300,7 +300,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"Axial Slice\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"Axial Slice\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......@@ -315,7 +315,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"Coronal Slice\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"Coronal Slice\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......@@ -330,7 +330,7 @@ void WMainWindow::moduleSpecificSetup( boost::shared_ptr< WModule > module )
if ( !prop )
{
WLogger::getLogger()->
addLogMessage( "Navigation Slice Module does not provide the property \"Sagittal Slice\", which is required by the GUI.", "GUI",
addLogMessage( "Navigation Slices module does not provide the property \"Sagittal Slice\", which is required by the GUI.", "GUI",
LL_ERROR );
}
else
......
......@@ -96,7 +96,7 @@ const char** WMNavSlices::getXPMIcon() const
const std::string WMNavSlices::getName() const
{
return "Navigation Slice Module";
return "Navigation Slices";
}
const std::string WMNavSlices::getDescription() const
......
Markdown is supported
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