From: dmv Date: Fri, 10 Sep 2010 12:16:43 +0000 (+0000) Subject: IPAL21940 WinTC5.1.4: Wrong default action for "Mesh Infos" dialog box X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75a78eb1f071a20a0c671c51cc8e69cf018f702f;p=modules%2Fsmesh.git IPAL21940 WinTC5.1.4: Wrong default action for "Mesh Infos" dialog box --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx index 01ba22253..40def53ab 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfosDlg.cxx @@ -141,7 +141,9 @@ SMESHGUI_MeshInfosDlg::SMESHGUI_MeshInfosDlg(SMESHGUI* theModule): // buttons --> OK and Help buttons myOkBtn = new QPushButton(tr("SMESH_BUT_OK" ), myButtonsGroup); - myOkBtn->setAutoDefault(true); myOkBtn->setDefault(true); + myOkBtn->setAutoDefault(true); + myOkBtn->setDefault(true); + myOkBtn->setFocus(); myHelpBtn = new QPushButton(tr("SMESH_BUT_HELP" ), myButtonsGroup); myHelpBtn->setAutoDefault(true);