mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1174 Update legend after result definition has changed
This commit is contained in:
parent
1efbf07711
commit
e8c5a43e1a
@ -61,9 +61,11 @@ void RicShowContributingWellsFeature::onActionTriggered(bool isChecked)
|
|||||||
|
|
||||||
if (activeView)
|
if (activeView)
|
||||||
{
|
{
|
||||||
activeView->cellResult->setResultType(RimDefines::FLOW_DIAGNOSTICS);
|
activeView->cellResult()->setResultType(RimDefines::FLOW_DIAGNOSTICS);
|
||||||
activeView->cellResult->setResultVariable("MaxFractionTracer");
|
activeView->cellResult()->setResultVariable("MaxFractionTracer");
|
||||||
activeView->cellResult->updateConnectedEditors();
|
activeView->cellResult()->updateResultNameHasChanged();
|
||||||
|
|
||||||
|
activeView->cellResult()->updateConnectedEditors();
|
||||||
|
|
||||||
const std::vector<QString> contributingTracers = wellAllocationPlot->contributingTracerNames();
|
const std::vector<QString> contributingTracers = wellAllocationPlot->contributingTracerNames();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user