mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -06:00
#7632 Preferences : Add separate tab Eclipse Summary
Remove obsolete includes
This commit is contained in:
1 parent
46f186b72d
commit
1cf1eef048
64 files changed
+153
-176
No files matched your search
@@ -20,8 +20,8 @@
|
||||
|
||||
#include "RimRegularLegendConfig.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
#include "RimCellEdgeColors.h"
|
||||
@@ -589,8 +589,7 @@ void RimRegularLegendConfig::updateLegend()
|
||||
m_significantDigitsInData = numDecimalDigits;
|
||||
m_scalarMapperLegend->setTickPrecision( numDecimalDigits );
|
||||
|
||||
RiaApplication* app = RiaApplication::instance();
|
||||
RiaPreferences* preferences = app->preferences();
|
||||
RiaPreferences* preferences = RiaPreferences::current();
|
||||
m_scalarMapperLegend->enableBackground( preferences->showLegendBackground() );
|
||||
m_categoryLegend->enableBackground( preferences->showLegendBackground() );
|
||||
|
||||
|
||||
Reference in new issue
Block a user