Index: svx/source/dialog/selector.cxx =================================================================== RCS file: /cvs/graphics/svx/source/dialog/selector.cxx,v retrieving revision 1.16 diff -u -p -u -r1.16 selector.cxx --- svx/source/dialog/selector.cxx 18 Apr 2005 11:53:42 -0000 1.16 +++ svx/source/dialog/selector.cxx 23 May 2005 10:27:34 -0000 @@ -1288,6 +1289,7 @@ SvxScriptSelectorDialog::SvxScriptSelect aCategories.SetSelectHdl( LINK( this, SvxScriptSelectorDialog, SelectHdl ) ); aCommands.SetSelectHdl( LINK( this, SvxScriptSelectorDialog, SelectHdl ) ); + aCommands.SetDoubleClickHdl( LINK( this, SvxScriptSelectorDialog, DoubleClickHdl ) ); aOKButton.SetClickHdl( LINK( this, SvxScriptSelectorDialog, ClickHdl ) ); aCancelButton.SetClickHdl( LINK( this, SvxScriptSelectorDialog, ClickHdl ) ); @@ -1375,6 +1377,12 @@ IMPL_LINK( SvxScriptSelectorDialog, Sele return 0; } +IMPL_LINK( SvxScriptSelectorDialog, DoubleClickHdl, Control*, pCtrl ) +{ + ClickHdl( &aOKButton); + return 0; +} + // Check if command is selected and enable the OK button accordingly // Grab the help text for this id if available and update the description field void Index: svx/source/dialog/selector.hxx =================================================================== RCS file: /cvs/graphics/svx/source/dialog/selector.hxx,v retrieving revision 1.10 diff -u -p -u -r1.10 selector.hxx --- svx/source/dialog/selector.hxx 21 Jan 2005 16:49:47 -0000 1.10 +++ svx/source/dialog/selector.hxx 23 May 2005 10:27:34 -0000 @@ -225,6 +225,7 @@ class SVX_DLLPUBLIC SvxScriptSelectorDia DECL_LINK( ClickHdl, Button * ); DECL_LINK( SelectHdl, Control* ); + DECL_LINK( DoubleClickHdl, Control* ); void UpdateUI(); void ResizeControls();