#2413 2D intersection view: Use correct cell result in infoText

This commit is contained in:
Rebecca Cox
2018-02-14 10:54:28 +01:00
parent cb38d435cd
commit eedf182620
3 changed files with 32 additions and 20 deletions

View File

@@ -674,21 +674,6 @@ void RimLegendConfig::setTitle(const QString& title)
m_categoryLegend->setTitle(cvfTitle);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RimLegendConfig::title() const
{
if (m_currentScalarMapper == m_categoryMapper)
{
return cvfqt::Utils::toQString(m_categoryLegend->title());
}
else
{
return cvfqt::Utils::toQString(m_scalarMapperLegend->title());
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------