diff --git a/samples/qt/Common/src/DocumentCommon.cxx b/samples/qt/Common/src/DocumentCommon.cxx index 1c567615df..8844a8ae0f 100755 --- a/samples/qt/Common/src/DocumentCommon.cxx +++ b/samples/qt/Common/src/DocumentCommon.cxx @@ -237,4 +237,5 @@ void DocumentCommon::onDelete() myContext->EraseSelected (Standard_False); myContext->ClearSelected(); getApplication()->onSelectionChanged(); + myContext->UpdateCurrentViewer(); }