diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 13:18:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 15:23:30 +0200 |
commit | d79b3317d267ffc13da05d08239dd7c8754468b6 (patch) | |
tree | 0b0512d08635bbe48e663bbae0ee4a51e023bac7 /sfx2 | |
parent | 52aae0c8cd63cf68976bb1c464049cf00d3f942e (diff) |
use toggle instead of click for CheckButton
Change-Id: I914941ff2161688e9c9f1388b42b17523a197a26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115802
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index ea64de5589ce..94f014fe073c 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -1648,7 +1648,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl(SfxHelpWindow_Impl* pHelpWin, wel InitToolBoxImages(); InitOnStartupBox(); - xOnStartupCB->connect_clicked(LINK(this, SfxHelpTextWindow_Impl, CheckHdl)); + xOnStartupCB->connect_toggled(LINK(this, SfxHelpTextWindow_Impl, CheckHdl)); aSelectIdle.SetInvokeHandler( LINK( this, SfxHelpTextWindow_Impl, SelectHdl ) ); aSelectIdle.SetPriority( TaskPriority::LOWEST ); @@ -1951,7 +1951,7 @@ IMPL_LINK_NOARG(SfxHelpTextWindow_Impl, CloseHdl, LinkParamNone*, void) m_xSrchDlg.reset(); } -IMPL_LINK_NOARG(SfxHelpTextWindow_Impl, CheckHdl, weld::Button&, void) +IMPL_LINK_NOARG(SfxHelpTextWindow_Impl, CheckHdl, weld::ToggleButton&, void) { if ( !xConfiguration.is() ) return; diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index 5bf2c9c8aa63..47654dc7f994 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -381,7 +381,7 @@ private: DECL_LINK( NotifyHdl, LinkParamNone*, void ); DECL_LINK( FindHdl, sfx2::SearchDialog&, void ); DECL_LINK( CloseHdl, LinkParamNone*, void ); - DECL_LINK( CheckHdl, weld::Button&, void ); + DECL_LINK( CheckHdl, weld::ToggleButton&, void ); void FindHdl(sfx2::SearchDialog*); public: |