Salome HOME
Update viewer on delete an item
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index df1237c43087d75b2510b67e3a3b8a8e758a0e49..45ea2eecbc7ba1f6dcafc3a6055b9537f84bca61 100644 (file)
@@ -277,7 +277,10 @@ public:
   bool enableUpdateViewer(const bool isEnabled);
 
   /// Returns true if the viewer update is not blocked
-  bool isUpdateEnabled() const;
+  bool isUpdateEnabled() const
+  {
+    return myViewerBlockedRecursiveCount == 0;
+  }
 
   /// Updates the viewer
   void updateViewer() const;
@@ -443,8 +446,6 @@ private:
 private:
   XGUI_SelectionActivate* selectionActivate() const;
 
-  AISObjectPtr createPresentation(const ResultPtr& theResult) const;
-
 private:
   XGUI_Workshop* myWorkshop; ///< Reference to workshop
 #ifdef TINSPECTOR