#7831 Janitor: Do not create QtChart features if compiled without QtChart

This commit is contained in:
Magne Sjaastad
2021-06-30 14:19:15 +02:00
parent 93b5c39387
commit 54dee08798
2 changed files with 4 additions and 0 deletions

View File

@@ -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 ) )