mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-20 12:59:46 -06:00
(#578) Disable menu commands in tree view when range/property is overridden
This commit is contained in:
1 parent
cb1723494c
commit
d9523dbd74
9 files changed
+69
-6
No files matched your search
@@ -38,8 +38,7 @@ CAF_CMD_SOURCE_INIT(RicRangeFilterInsertFeature, "RicRangeFilterInsertFeature");
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicRangeFilterInsertFeature::isCommandEnabled()
|
||||
{
|
||||
std::vector<RimCellRangeFilter*> selection = selectedCellRangeFilters();
|
||||
return selection.size() > 0;
|
||||
return RicRangeFilterFeatureImpl::isRangeFilterCommandAvailable();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user