Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_DeleteDlg.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx
b/src/HYDROGUI/HYDROGUI_DeleteDlg.cxx
index e7c93fa394b024993f7955e638f92e558aa61209..5c8515713c308f47c7ba58e8bbc97a84cee18bbf 100644
(file)
--- 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<QPushButton*>( button( Yes ) ) )
{
setFocusProxy( aYesBtn );
if ( QPushButton* aYesBtn = ::qobject_cast<QPushButton*>( button( Yes ) ) )
{
setFocusProxy( aYesBtn );
+ aYesBtn->setAutoDefault( true );
aYesBtn->setDefault( true );
}
aYesBtn->setDefault( true );
}
+ if ( QPushButton* aNoBtn = ::qobject_cast<QPushButton*>( button( No ) ) )
+ {
+ aNoBtn->setAutoDefault( true );
+ }
setMinimumSize( 275, 250 );
}
setMinimumSize( 275, 250 );
}