#1401 Disable model change notification for several features

This commit is contained in:
Magne Sjaastad
2017-04-20 10:38:58 +02:00
parent 530400fb28
commit 31852ba94f
21 changed files with 44 additions and 0 deletions

View File

@@ -188,6 +188,8 @@ bool RicShowPlotDataFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicShowPlotDataFeature::onActionTriggered(bool isChecked)
{
this->disableModelChangeContribution();
std::vector<RimSummaryPlot*> selectedSummaryPlots;
caf::SelectionManager::instance()->objectsByType(&selectedSummaryPlots);