From fb88c7e216d53818aa1d247d615ff20b4f6802dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Grip=20Fj=C3=A6r?= Date: Tue, 4 Apr 2017 15:45:52 +0200 Subject: [PATCH] #1010 Make "Create Grid Case Group" always available --- .../EclipseCommands/RicCreateGridCaseGroupFeature.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ApplicationCode/Commands/EclipseCommands/RicCreateGridCaseGroupFeature.cpp b/ApplicationCode/Commands/EclipseCommands/RicCreateGridCaseGroupFeature.cpp index 6da72f89c2..c5f69fe3de 100644 --- a/ApplicationCode/Commands/EclipseCommands/RicCreateGridCaseGroupFeature.cpp +++ b/ApplicationCode/Commands/EclipseCommands/RicCreateGridCaseGroupFeature.cpp @@ -34,10 +34,7 @@ CAF_CMD_SOURCE_INIT(RicCreateGridCaseGroupFeature, "RicCreateGridCaseGroupFeatur //-------------------------------------------------------------------------------------------------- bool RicCreateGridCaseGroupFeature::isCommandEnabled() { - std::vector selection; - caf::SelectionManager::instance()->objectsByType(&selection); - - return selection.size() > 0; + return true; } //--------------------------------------------------------------------------------------------------