#7632 Preferences : Add separate tab Eclipse Summary

Remove obsolete includes
This commit is contained in:
Magne Sjaastad
2021-04-28 10:29:53 +02:00
parent 46f186b72d
commit 1cf1eef048
64 changed files with 153 additions and 176 deletions

View File

@@ -19,8 +19,8 @@
#include "RimTernaryLegendConfig.h"
#include "RiaApplication.h"
#include "RiaColorTables.h"
#include "RiaGuiApplication.h"
#include "RiaPreferences.h"
#include "RimEclipseView.h"
@@ -207,9 +207,7 @@ void RimTernaryLegendConfig::updateLegend()
{
m_legend->setRangeText( soilRange, sgasRange, swatRange );
RiaApplication* app = RiaApplication::instance();
RiaPreferences* preferences = app->preferences();
m_legend->enableBackground( preferences->showLegendBackground() );
m_legend->enableBackground( RiaPreferences::current()->showLegendBackground() );
}
}