#14640 Simulator Events: Use one experimental feature flag

The import and schedule export of simulator events are two halves of the same
workflow, so they share the "simulator-events" flag instead of having one
keyword each. Users who enabled "simulator-events-import" have to tick the new
entry once in Preferences -> System -> Experimental Features.
This commit is contained in:
Kristian Bendiksen committed 2026-09-25 14:35:45 +02:00
1 parent 9dda0faa3c
commit beadb306c2
5 files changed
+11 -10

No files matched your search

@@ -352,7 +352,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder.addSeparator();
menuBuilder << "RicWellPathImportPerforationIntervalsFeature";
menuBuilder << "RicImportWellMeasurementsFeature";
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events-import" ) )
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events" ) )
{
menuBuilder << "RicImportSimulatorEventsFeature";
}
@@ -362,7 +362,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder << "RicExportSelectedWellPathsFeature";
menuBuilder << "RicExportVisibleWellPathsFeature";
menuBuilder.subMenuEnd();
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events-export" ) )
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events" ) )
{
menuBuilder << "RicExportScheduleFeature";
}
@@ -370,7 +370,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
}
else if ( dynamic_cast<RimWellEventTimeline*>( firstUiItem ) )
{
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events-export" ) )
if ( RiaPreferencesSystem::current()->isFeatureEnabled( "simulator-events" ) )
{
menuBuilder << "RicExportScheduleFeature";
}