Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / XGUI / XGUI_ViewerProxy.cpp
index 4cc8abee149450e6872866c2a93c451969293d51..fbff53c41f2180237f277379746c294925d51237 100644 (file)
@@ -527,14 +527,14 @@ void XGUI_ViewerProxy::updateHighlight()
           else {
             myResult = ResultPtr();
           }
-          aContext->UpdateCurrentViewer();
+          update();
         }
         isDisplayed = aRes.get();
       }
     }
     if (!isDisplayed) {
       if (eraseHighlight()) {
-        aContext->UpdateCurrentViewer();
+        update();
       }
       myResult = ResultPtr();
     }