mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Add sample count to grid property statistics
This commit is contained in:
1 parent
c6beb3b52d
commit
c8d4757a51
4 files changed
+25
-2
No files matched your search
@@ -32,7 +32,8 @@ CAF_CMD_SOURCE_INIT( RicRenameSummaryCaseFeature, "RicRenameSummaryCaseFeature"
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicRenameSummaryCaseFeature::isCommandEnabled()
|
||||
{
|
||||
return true;
|
||||
auto summaryCase = caf::SelectionManager::instance()->selectedItemOfType<RimSummaryCase>();
|
||||
return ( summaryCase != nullptr );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user