mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
#7831 Janitor: Do not create QtChart features if compiled without QtChart
This commit is contained in:
parent
93b5c39387
commit
54dee08798
@ -891,7 +891,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 ) )
|
||||
|
@ -634,7 +634,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