mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
#12327 Small adjustments
* Remove unused volume sum * Hide more log messages by default * Allow stepping on top level plot * Fix update of main plot title
This commit is contained in:
1 parent
fa9066de06
commit
3715667e30
8 files changed
+84
-33
No files matched your search
@@ -813,6 +813,15 @@ void RimEnsembleCurveSet::fieldChangedByUi( const caf::PdmFieldHandle* changedFi
|
||||
|
||||
updateAllCurves();
|
||||
|
||||
if ( auto multiPlot = firstAncestorOrThisOfType<RimSummaryMultiPlot>() )
|
||||
{
|
||||
multiPlot->updatePlotTitles();
|
||||
}
|
||||
else
|
||||
{
|
||||
plot->updatePlotTitle();
|
||||
}
|
||||
|
||||
updateTextInPlot = true;
|
||||
}
|
||||
else if ( changedField == &m_yValuesSummaryEnsemble )
|
||||
@@ -1003,7 +1012,16 @@ void RimEnsembleCurveSet::fieldChangedByUi( const caf::PdmFieldHandle* changedFi
|
||||
loadDataAndUpdate( true );
|
||||
|
||||
plot->updateAxes();
|
||||
plot->updatePlotTitle();
|
||||
|
||||
if ( auto multiPlot = firstAncestorOrThisOfType<RimSummaryMultiPlot>() )
|
||||
{
|
||||
multiPlot->updatePlotTitles();
|
||||
}
|
||||
else
|
||||
{
|
||||
plot->updatePlotTitle();
|
||||
}
|
||||
|
||||
plot->updateConnectedEditors();
|
||||
|
||||
RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
|
||||
@@ -1103,15 +1121,13 @@ void RimEnsembleCurveSet::childFieldChangedByUi( const caf::PdmFieldHandle* chan
|
||||
// The recommended way to trigger update in a parent object is by using caf::Signal. Here we need to update two parent classes, and
|
||||
// they are multiple levels away. To avoid a long signal path that is hard to debug, we use firstAncestorOrThisOfType()
|
||||
|
||||
auto summaryPlot = firstAncestorOrThisOfType<RimSummaryPlot>();
|
||||
if ( summaryPlot )
|
||||
if ( auto summaryPlot = firstAncestorOrThisOfType<RimSummaryPlot>() )
|
||||
{
|
||||
summaryPlot->updateAll();
|
||||
summaryPlot->zoomAll();
|
||||
}
|
||||
|
||||
auto multiPlot = firstAncestorOrThisOfType<RimSummaryMultiPlot>();
|
||||
if ( multiPlot )
|
||||
if ( auto multiPlot = firstAncestorOrThisOfType<RimSummaryMultiPlot>() )
|
||||
{
|
||||
multiPlot->updatePlotTitles();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user