Set focus to No button initially, so enter = revert changes.
I'm not completely sure about this, but it could help to prevent accidential confirms svn path=/trunk/KDE/kdebase/workspace/; revision=714128
This commit is contained in:
parent
5feeb3f483
commit
36d804a0f5
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ ConfirmDialog::ConfirmDialog() :
|
|||
setCaption( i18n( "Compositing settings changed" ));
|
||||
setButtons( KDialog::Yes | KDialog::No | KDialog::Cancel );
|
||||
setDefaultButton(KDialog::No);
|
||||
setButtonFocus(KDialog::No);
|
||||
setEscapeButton(KDialog::Cancel);
|
||||
|
||||
mTextLabel = new QLabel(this);
|
||||
|
|
Loading…
Reference in a new issue