#4239 Show Well Allocation Plots: Add well name to suggested view name

This commit is contained in:
Magne Sjaastad
2019-03-27 19:19:19 +01:00
parent 50aac466e6
commit d0a23252ab
9 changed files with 33 additions and 18 deletions

View File

@@ -33,11 +33,15 @@
//==================================================================================================
///
//==================================================================================================
RimEclipseView* RicSelectOrCreateViewFeatureImpl::showViewSelection(RimEclipseResultCase* resultCase, const QString& lastUsedViewKey, const QString& dialogTitle)
RimEclipseView* RicSelectOrCreateViewFeatureImpl::showViewSelection(RimEclipseResultCase* resultCase,
const QString& lastUsedViewKey,
const QString& newViewName,
const QString& dialogTitle)
{
RimEclipseView* defaultSelectedView = getDefaultSelectedView(resultCase, lastUsedViewKey);
RicSelectViewUI featureUi;
featureUi.setNewViewName(newViewName);
if (defaultSelectedView)
{
featureUi.setView(defaultSelectedView);