mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2413 2D intersection view: Use correct cell result in infoText
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user