diff --git a/kcmkwin/kwincompositing/ktimerdialog.cpp b/kcmkwin/kwincompositing/ktimerdialog.cpp index 803993039b..d845cb1c61 100644 --- a/kcmkwin/kwincompositing/ktimerdialog.cpp +++ b/kcmkwin/kwincompositing/ktimerdialog.cpp @@ -52,6 +52,7 @@ KTimerDialog::KTimerDialog( int msec, TimerStyle style, QWidget *parent, setCaption( caption ); setButtons( (ButtonCodes)buttonMask ); setDefaultButton( defaultButton ); + setButtonFocus( defaultButton ); // setDefaultButton() doesn't do this showButtonSeparator( separator ); setButtonGuiItem( User1, user1 ); setButtonGuiItem( User2, user2 );