diff --git a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx index 0820f30d6..7dca35c48 100644 --- a/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx +++ b/src/BlocksGUI/BlocksGUI_TrsfDlg.cxx @@ -398,7 +398,7 @@ void BlocksGUI_TrsfDlg::activateSelection() // Local selection is available only in the OCC Viewer if (SUIT_Session::session()->activeApplication()->desktop()->activeWindow()->getViewManager()->getType() - != OCCViewer_Viewer::Type()) { + == OCCViewer_Viewer::Type()) { localSelection(myShape, TopAbs_FACE); } else { return;