From: nds Date: Thu, 9 Jan 2014 13:55:19 +0000 (+0000) Subject: Refs #322: Image is removed without reasons for it X-Git-Tag: BR_hydro_v_0_8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe2d0f44cd2d48a7c8daf5028505122a23827c35;p=modules%2Fhydro.git Refs #322: Image is removed without reasons for it --- diff --git a/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx b/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx index e7c93fa3..5c851571 100644 --- a/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx @@ -55,8 +55,13 @@ HYDROGUI_DeleteDlg::HYDROGUI_DeleteDlg( QWidget* theParent ) if ( QPushButton* aYesBtn = ::qobject_cast( button( Yes ) ) ) { setFocusProxy( aYesBtn ); + aYesBtn->setAutoDefault( true ); aYesBtn->setDefault( true ); } + if ( QPushButton* aNoBtn = ::qobject_cast( button( No ) ) ) + { + aNoBtn->setAutoDefault( true ); + } setMinimumSize( 275, 250 ); }