mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Avoid regenerating viewer pages when just stepping curves in plots
This commit is contained in:
parent
d3ce7a2096
commit
2c1ef661b0
@ -73,6 +73,7 @@ public:
|
||||
virtual void updateAfterPlotRemove();
|
||||
|
||||
void deleteAllPlots() override;
|
||||
void updatePlots();
|
||||
|
||||
size_t plotCount() const override;
|
||||
size_t plotIndex( const RimPlot* plot ) const;
|
||||
@ -132,7 +133,6 @@ protected:
|
||||
void initAfterRead() override;
|
||||
|
||||
void applyPlotWindowTitleToWidgets();
|
||||
void updatePlots();
|
||||
void updateZoom();
|
||||
void recreatePlotWidgets();
|
||||
|
||||
|
@ -515,8 +515,7 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi( const caf::PdmFieldHandle*
|
||||
RimSummaryMultiPlot* summaryMultiPlot = dynamic_cast<RimSummaryMultiPlot*>( m_objectForSourceStepping.p() );
|
||||
if ( summaryMultiPlot )
|
||||
{
|
||||
summaryMultiPlot->keepVisiblePageAfterUpdate( true );
|
||||
summaryMultiPlot->loadDataAndUpdate();
|
||||
summaryMultiPlot->updatePlots();
|
||||
RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
|
||||
mainPlotWindow->updateMultiPlotToolBar();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user