[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 19 13:24:15 UTC 2021
sfx2/source/appl/newhelp.cxx | 4 ++--
sfx2/source/appl/newhelp.hxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit d79b3317d267ffc13da05d08239dd7c8754468b6
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 19 13:18:17 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 19 15:23:30 2021 +0200
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 at redhat.com>
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:
More information about the Libreoffice-commits
mailing list