mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7831 Janitor: Do not create QtChart features if compiled without QtChart
This commit is contained in:
parent
16887129f1
commit
4ae3f0af1f
@ -897,7 +897,9 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
}
|
||||
else if ( dynamic_cast<Rim3dOverlayInfoConfig*>( firstUiItem ) )
|
||||
{
|
||||
#ifdef USE_QTCHARTS
|
||||
menuBuilder << "RicCreateGridStatisticsPlotFeature";
|
||||
#endif
|
||||
menuBuilder << "RicShowGridStatisticsFeature";
|
||||
}
|
||||
else if ( dynamic_cast<RimSimWellFracture*>( firstUiItem ) )
|
||||
|
@ -618,7 +618,9 @@ void RiuViewerCommands::displayContextMenu( QMouseEvent* event )
|
||||
menuBuilder.addSeparator();
|
||||
menuBuilder << "RicExportEclipseInputGridFeature";
|
||||
menuBuilder << "RicSaveEclipseInputActiveVisibleCellsFeature";
|
||||
#ifdef USE_QTCHARTS
|
||||
menuBuilder << "RicCreateGridStatisticsPlotFeature";
|
||||
#endif
|
||||
menuBuilder << "RicShowGridStatisticsFeature";
|
||||
menuBuilder << "RicSelectColorResult";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user