mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2028 Summary : Use SummaryTools to access summary objects
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaSummaryTools.h"
|
||||
|
||||
#include "RimMainPlotCollection.h"
|
||||
#include "RimProject.h"
|
||||
@@ -64,8 +65,7 @@ bool RicReloadSummaryCaseFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicReloadSummaryCaseFeature::onActionTriggered(bool isChecked)
|
||||
{
|
||||
RimSummaryPlotCollection* summaryPlotColl = RiaApplication::instance()->project()->mainPlotCollection()->summaryPlotCollection();
|
||||
CVF_ASSERT(summaryPlotColl);
|
||||
RimSummaryPlotCollection* summaryPlotColl = RiaSummaryTools::summaryPlotCollection();
|
||||
|
||||
std::vector<RimSummaryCase*> caseSelection = selectedSummaryCases();
|
||||
for (RimSummaryCase* summaryCase : caseSelection)
|
||||
|
||||
Reference in New Issue
Block a user