Skip to content

Commit

Permalink
#1010 Make "Create Grid Case Group" always available
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornarg committed Apr 4, 2017
1 parent 677e326 commit fb88c7e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ CAF_CMD_SOURCE_INIT(RicCreateGridCaseGroupFeature, "RicCreateGridCaseGroupFeatur
//--------------------------------------------------------------------------------------------------
bool RicCreateGridCaseGroupFeature::isCommandEnabled()
{
std::vector<RimEclipseCaseCollection*> selection;
caf::SelectionManager::instance()->objectsByType(&selection);

return selection.size() > 0;
return true;
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit fb88c7e

Please sign in to comment.