]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Replace Ok/Cancel by Yes/No
authorgdd <gdd>
Tue, 1 Feb 2011 10:56:40 +0000 (10:56 +0000)
committergdd <gdd>
Tue, 1 Feb 2011 10:56:40 +0000 (10:56 +0000)
Translation into another language is automatically done by Qt, no "tr" is needed.

src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx

index a2df755b4a31ae4629f1007b6d1e8f136fb2f1b7..d86e3c051f7cfa03fd7b0a5a1cb905856efab551 100644 (file)
@@ -108,8 +108,8 @@ GEOMToolsGUI_DeleteDlg::GEOMToolsGUI_DeleteDlg( QWidget* parent,
     lab->setText( tr( "GEOM_REALLY_DELETE_ALL" ) );
   }
 
-  QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok
-                                 | QDialogButtonBox::Cancel);
+  QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Yes
+                                 | QDialogButtonBox::No);
   int rc = topLayout->rowCount();
   topLayout->addWidget( buttonBox, rc, 1, 1, 1 );