From: ski Date: Mon, 28 Sep 2015 13:04:01 +0000 (+0300) Subject: Small correction of qt samples X-Git-Tag: V6_9_1^0 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=3b5f0ca3722968991549cfce1caca4fa89bf97b1;p=occt-copy.git Small correction of qt samples --- 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(); }