Commit 70411429 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[ADD #193] Now nothing is shown in the tab-window when fibers are loaded,...

[ADD #193] Now nothing is shown in the tab-window when fibers are loaded, since they don't have an alpha value etc.
parent 448d7152
......@@ -176,6 +176,13 @@ void WMData::moduleMain()
{
WLoaderFibers fibLoader( fileName, WKernel::getRunningKernel()->getDataHandler() );
m_dataSet = fibLoader.load();
// hide properties since they make no sense at all
m_properties->hideProperty( "filename" );
m_properties->hideProperty( "name" );
m_properties->hideProperty( "active" );
m_properties->hideProperty( "interpolation" );
m_properties->hideProperty( "threshold" );
m_properties->hideProperty( "alpha" );
}
else
{
......
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