mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
#14635 Orion Events: Use well name alias for generic keywords
This commit is contained in:
1 parent
c08323c65e
commit
1336eba81d
5 files changed
+60
-6
No files matched your search
@@ -602,7 +602,8 @@ void RicScheduleDataGenerator::generateWellControlForWell( const RimWellEventTim
|
||||
{
|
||||
if ( event->wellName() != well.name() ) continue;
|
||||
|
||||
auto kw = RifEventKeywordFormatter::buildWellEvent( event, well.name() );
|
||||
const QString wellName = well.completionSettings() ? well.completionSettings()->wellNameForExport() : well.name();
|
||||
auto kw = RifEventKeywordFormatter::buildWellEvent( event, wellName );
|
||||
if ( !kw ) continue;
|
||||
|
||||
const QString name = QString::fromStdString( kw->name() );
|
||||
|
||||
Reference in new issue
Block a user