diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2010-10-26 22:37:34 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2010-10-26 22:37:34 +0200 |
commit | 3de9734c96aa305ebc825abd5f48aa3cf7b25fab (patch) | |
tree | 41c96e6704ae15ed39bb9476aa576080e47fb673 /sd/source/ui | |
parent | 51696d0ff9e694e8fc033a2593c5615aae94cf13 (diff) |
Keyboard accel for Impress custom anim create dialog
Make ok and cancel btns work on return and esc, resp. in Impress'
custom animation create dialog. Patch from i#105675, applies
sd-customanimation-defbutton.diff
Diffstat (limited to 'sd/source/ui')
-rwxr-xr-x[-rw-r--r--] | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index fe13540d8..d91b9363a 100644..100755 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -516,7 +516,9 @@ CustomAnimationCreateDialog::CustomAnimationCreateDialog( Window* pParent, Custo { mpTabControl = new TabControl( this, SdResId( 1 ) ); mpOKButton = new OKButton(this, SdResId( 1 ) ) ; + mpOKButton->SetStyle(WB_DEFBUTTON); mpCancelButton = new CancelButton(this, SdResId( 1 ) ); + mpCancelButton->SetStyle(WB_DEFBUTTON); mpHelpButton = new HelpButton(this, SdResId( 1 ) ); FreeResource(); |