Index: C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.cxx
===================================================================
--- C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.cxx	(revision 3949)
+++ C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.cxx	(revision 3950)
@@ -96,6 +97,19 @@
 }
 
 //-----------------------------------------------------------------------------
+void pqScalarBarRepresentation::setVisible(bool visible)
+{
+	pqSMAdaptor::setElementProperty(this->getProxy()->GetProperty("Visibility"),
+    (visible? 1 : 0));
+
+	pqSMAdaptor::setElementProperty(this->getProxy()->GetProperty("Enabled"),
+    (visible? 1 : 0));
+  this->getProxy()->UpdateVTKObjects();
+	this->blockSignals(!visible);	
+
+}
+
+//-----------------------------------------------------------------------------
 pqScalarBarRepresentation::~pqScalarBarRepresentation()
 {
   if (this->Internal->LookupTable)
Index: C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.h
===================================================================
--- C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.h	(revision 3949)
+++ C:/Work/ParaViewGeo/Qt/Core/pqScalarBarRepresentation.h	(revision 3950)
@@ -68,6 +68,15 @@
   /// Set the title formed by combining two parts.
   void setTitle(const QString& name, const QString& component);
 
+	
+	/// Have to override this as we need to disconect signals
+	/// so we don't screw everything up when it is hidden
+
+  /// Set the visibility. Note that this affects the visibility of the
+  /// display in the view it has been added to, if any. This method does not 
+  /// call a re-render on the view, caller must call that explicitly.
+	virtual void setVisible(bool visible);
+
   /// set by pqPipelineRepresentation when it forces the visiblity of the scalar
   /// bar to be off.
   void setAutoHidden(bool h)
