Commit 858dc3bb authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[FIX] HistogramView module will no crash anymore when, no data is connected.

parent 2b9f250f
......@@ -175,7 +175,10 @@ void WMHistogramView::handleMouseMove( WVector2f pos )
m_mainNode->remove( m_markerNode );
}
createInfo( pos );
if( !m_histograms.empty() ) // Bug: module will crash on mouse events when no data was connected
{
createInfo( pos );
}
}
void WMHistogramView::handleResize( int /* x */, int /* y */, int width, int height )
......
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