X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Displayer.h;h=45ea2eecbc7ba1f6dcafc3a6055b9537f84bca61;hb=f421ab3932a5e09ae8082215c3eaaa8cc4944e02;hp=62362084acfc89d1c771c78a0dc228952cce1978;hpb=af35266d7c7d3bdac54952f85b4d16ff6d1c9b0b;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Displayer.h b/src/XGUI/XGUI_Displayer.h index 62362084a..45ea2eecb 100644 --- a/src/XGUI/XGUI_Displayer.h +++ b/src/XGUI/XGUI_Displayer.h @@ -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;