NPAL13898

This commit is contained in:
dmv 2008-05-08 13:19:51 +00:00
parent 264004fcf9
commit b66fdf7ddc
2 changed files with 2 additions and 2 deletions

View File

@ -650,7 +650,7 @@ void SMESHGUI_MeshInfosBox::SetInfoByMesh(SMESH::SMESH_Mesh_var mesh)
*/ */
//======================================================================= //=======================================================================
SMESHGUI_ComputeDlg::SMESHGUI_ComputeDlg(): SMESHGUI_Dialog( 0, false, true, OK/* | Help*/ ) SMESHGUI_ComputeDlg::SMESHGUI_ComputeDlg(): SMESHGUI_Dialog( 0, false, true, Close/* | Help*/ )
{ {
QVBoxLayout* aDlgLay = new QVBoxLayout (mainFrame(), 0, SPACING); QVBoxLayout* aDlgLay = new QVBoxLayout (mainFrame(), 0, SPACING);

View File

@ -81,7 +81,7 @@ void SMESHGUI_Operation::startOperation()
disconnect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) ); disconnect( dlg(), SIGNAL( dlgClose() ), this, SLOT( onCancel() ) );
disconnect( dlg(), SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) ); disconnect( dlg(), SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) );
dlg()->setButtonText(1, "&Ok"); //rename Apply and Close to OK // dlg()->setButtonText(1, "&Ok"); //rename Apply and Close to OK
if( dlg()->testButtonFlags( QtxDialog::OK ) ) if( dlg()->testButtonFlags( QtxDialog::OK ) )
connect( dlg(), SIGNAL( dlgOk() ), this, SLOT( onOk() ) ); connect( dlg(), SIGNAL( dlgOk() ), this, SLOT( onOk() ) );