]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Refs #322: Image is removed without reasons for it BR_hydro_v_0_8
authornds <nds@opencascade.com>
Thu, 9 Jan 2014 13:55:19 +0000 (13:55 +0000)
committernds <nds@opencascade.com>
Thu, 9 Jan 2014 13:55:19 +0000 (13:55 +0000)
src/HYDROGUI/HYDROGUI_DeleteDlg.cxx

index e7c93fa394b024993f7955e638f92e558aa61209..5c8515713c308f47c7ba58e8bbc97a84cee18bbf 100644 (file)
@@ -55,8 +55,13 @@ HYDROGUI_DeleteDlg::HYDROGUI_DeleteDlg( QWidget* theParent )
   if ( QPushButton* aYesBtn = ::qobject_cast<QPushButton*>( button( Yes ) ) )
   {
     setFocusProxy( aYesBtn );
+    aYesBtn->setAutoDefault( true );
     aYesBtn->setDefault( true );
   }
+  if ( QPushButton* aNoBtn = ::qobject_cast<QPushButton*>( button( No ) ) )
+  {
+    aNoBtn->setAutoDefault( true );
+  }
 
   setMinimumSize( 275, 250 );
 }