diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 11:00:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 17:01:32 +0200 |
commit | 3cf28a1ab93515739e9fd20ffb3a575017ac9e69 (patch) | |
tree | a2b9f7dfe380e841ca71f9aceed55cf80068f254 /sd/source | |
parent | dbd45a00db54af7d960654932ef17eba4ef457ca (diff) |
use toggle instead of click for RadioButton
Change-Id: Icacf5444d65fb5bac4a6c85d9e5c36b98da3e57a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115867
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/animobjs.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/inc/animobjs.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx index 2ab345103a52..e6ccdfa8b083 100644 --- a/sd/source/ui/dlg/animobjs.cxx +++ b/sd/source/ui/dlg/animobjs.cxx @@ -174,8 +174,8 @@ AnimationWindow::AnimationWindow(SfxBindings* pInBindings, SfxChildWindow *pCW, m_xBtnRemoveBitmap->connect_clicked( LINK( this, AnimationWindow, ClickRemoveBitmapHdl ) ); m_xBtnRemoveAll->connect_clicked( LINK( this, AnimationWindow, ClickRemoveBitmapHdl ) ); - m_xRbtGroup->connect_clicked( LINK( this, AnimationWindow, ClickRbtHdl ) ); - m_xRbtBitmap->connect_clicked( LINK( this, AnimationWindow, ClickRbtHdl ) ); + m_xRbtGroup->connect_toggled( LINK( this, AnimationWindow, ClickRbtHdl ) ); + m_xRbtBitmap->connect_toggled( LINK( this, AnimationWindow, ClickRbtHdl ) ); m_xBtnCreateGroup->connect_clicked( LINK( this, AnimationWindow, ClickCreateGroupHdl ) ); m_xBtnHelp->connect_clicked( LINK( this, AnimationWindow, ClickHelpHdl ) ); m_xNumFldBitmap->connect_value_changed( LINK( this, AnimationWindow, ModifyBitmapHdl ) ); @@ -361,7 +361,7 @@ IMPL_LINK_NOARG(AnimationWindow, ClickLastHdl, weld::Button&, void) UpdateControl(); } -IMPL_LINK_NOARG(AnimationWindow, ClickRbtHdl, weld::Button&, void) +IMPL_LINK_NOARG(AnimationWindow, ClickRbtHdl, weld::ToggleButton&, void) { if (m_FrameList.empty() || m_xRbtGroup->get_active()) { diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index eca904e55283..2588e4cd31a9 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -129,7 +129,7 @@ private: DECL_LINK( ClickLastHdl, weld::Button&, void ); DECL_LINK( ClickGetObjectHdl, weld::Button&, void ); DECL_LINK( ClickRemoveBitmapHdl, weld::Button&, void ); - DECL_LINK( ClickRbtHdl, weld::Button&, void ); + DECL_LINK( ClickRbtHdl, weld::ToggleButton&, void ); DECL_LINK( ClickHelpHdl, weld::Button&, void ); DECL_LINK( ClickCreateGroupHdl, weld::Button&, void ); DECL_LINK( ModifyBitmapHdl, weld::SpinButton&, void ); |