]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix of SMESH compilation error...
authordmv <dmv@opencascade.com>
Mon, 17 Mar 2008 10:24:05 +0000 (10:24 +0000)
committerdmv <dmv@opencascade.com>
Mon, 17 Mar 2008 10:24:05 +0000 (10:24 +0000)
src/SMESHGUI/SMESHGUI_Operation.cxx

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