Index: ParaViewPlugins/pqKWESurfaceLICDisplayPanelDecorator.cxx
===================================================================
--- ParaViewPlugins/pqKWESurfaceLICDisplayPanelDecorator.cxx	(revision 1289)
+++ ParaViewPlugins/pqKWESurfaceLICDisplayPanelDecorator.cxx	(working copy)
@@ -24,10 +24,11 @@
 // Server Manager Includes.
 #include "vtkCommand.h"
 #include "vtkEventQtSlotConnect.h"
-#include "vtkSmartPointer.h"
+#include "vtkSMEnumerationDomain.h"
+#include "vtkSMPVRepresentationProxy.h"
 #include "vtkSMProperty.h"
 #include "vtkSMPropertyHelper.h"
-#include "vtkSMPVRepresentationProxy.h"
+#include "vtkSmartPointer.h"
 
 // Qt Includes.
 #include <QVBoxLayout>
@@ -124,7 +125,10 @@
     int reprType = 
       vtkSMPropertyHelper(this->Internals->Representation,
       "Representation").GetAsInt();
-    if (reprType == vtkSMPVRepresentationProxy::USER_DEFINED+1)
+    vtkSMEnumerationDomain* domain = vtkSMEnumerationDomain::SafeDownCast(
+      this->Internals->Representation->GetProperty("Representation")->GetDomain("enum"));
+    if (domain->GetEntryTextForValue(reprType) &&
+      strcmp(domain->GetEntryTextForValue(reprType), "Surface LIC") ==0) 
       {
       this->Internals->Frame->setEnabled(true);
       vtkSMPropertyHelper(this->Internals->Representation,
