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 | 72891496e3063ec3e77f6c217d59103492997904 (patch) | |
tree | 4040712fe9f09cdc5856eae0ba597a5b17bd6d3c /sd/source | |
parent | 0e4186e35dd216c2a5df92e15b309eef9826606d (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')
-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 00fc30c5b537..e4295c800380 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(); |