Salome HOME
Update viewer on delete an item
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index 62362084acfc89d1c771c78a0dc228952cce1978..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;