mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
Improve CmdFeature base class
Add default implementation of isEnabled() and add const
This commit is contained in:
1 parent
59ca0b943c
commit
1da509166a
786 files changed
+638
-1857
No files matched your search
@@ -97,7 +97,7 @@ void RicCloseObservedDataFeature::deleteObservedRmuRftData( const std::vector<Ri
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicCloseObservedDataFeature::isCommandEnabled()
|
||||
bool RicCloseObservedDataFeature::isCommandEnabled() const
|
||||
{
|
||||
std::vector<RimObservedSummaryData*> summarySelection;
|
||||
caf::SelectionManager::instance()->objectsByType( &summarySelection );
|
||||
|
||||
Reference in new issue
Block a user