]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_WidgetSketchLabel.cpp
Salome HOME
Debug information for setFocus/activateWindow methods.
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index b167f5a47d31f3afc287d0df3afee39e6442c80b..846ea999912627927bcb51f7f773e210c490991d 100644 (file)
@@ -235,7 +235,7 @@ std::shared_ptr<GeomAPI_Pln> PartSet_WidgetSketchLabel::plane() const
 
 bool PartSet_WidgetSketchLabel::focusTo()
 {
-  myStackWidget->setFocus();
+  ModuleBase_Tools::setFocus(myStackWidget, "PartSet_WidgetSketchLabel::focusTo()");
   return true;
 }