mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added "new" and "insert" commands for geomech property filters
This commit is contained in:
@@ -520,6 +520,8 @@ void RimProject::computeUtmAreaOfInterest()
|
||||
#include "RimCellRangeFilter.h"
|
||||
#include "RimEclipsePropertyFilterCollection.h"
|
||||
#include "RimEclipsePropertyFilter.h"
|
||||
#include "RimGeoMechPropertyFilterCollection.h"
|
||||
#include "RimGeoMechPropertyFilter.h"
|
||||
#include "RimEclipseCellColors.h"
|
||||
#include "RimEclipseFaultColors.h"
|
||||
|
||||
@@ -589,6 +591,14 @@ void RimProject::actionsBasedOnSelection(std::vector<QAction*>& actions)
|
||||
actions.push_back(commandManager->action("RicEclipsePropertyFilterInsert"));
|
||||
actions.push_back(commandManager->action("RicEclipsePropertyFilterDelete"));
|
||||
}
|
||||
else if (dynamic_cast<RimGeoMechPropertyFilterCollection*>(uiItem))
|
||||
{
|
||||
actions.push_back(commandManager->action("RicGeoMechPropertyFilterNew"));
|
||||
}
|
||||
else if (dynamic_cast<RimGeoMechPropertyFilter*>(uiItem))
|
||||
{
|
||||
actions.push_back(commandManager->action("RicGeoMechPropertyFilterInsert"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user