formula/source/ui/dlg/formula.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit fa3266f9bf00b5858f36ae37e5720026a1ed40cc Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu May 20 16:53:14 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri May 21 10:49:57 2021 +0200 use toggle instead of click for CheckButton Change-Id: Iec5139cc2b739a624db7f10854a29e191b509286 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115889 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 456d29e2de38..06044e8a875f 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -114,7 +114,7 @@ public: DECL_LINK( ModifyHdl, ParaWin&, void ); DECL_LINK( FxHdl, ParaWin&, void ); - DECL_LINK( MatrixHdl, weld::Button&, void ); + DECL_LINK( MatrixHdl, weld::ToggleButton&, void ); DECL_LINK( FormulaHdl, weld::TextView&, void); DECL_LINK( FormulaCursorHdl, weld::TextView&, void ); DECL_LINK( BtnHdl, weld::Button&, void ); @@ -295,7 +295,7 @@ FormulaDlg_Impl::FormulaDlg_Impl(weld::Dialog& rDialog, m_xWndFormResult->set_visible( _bSupportFunctionResult ); if ( _bSupportMatrix ) - m_xBtnMatrix->connect_clicked( LINK( this, FormulaDlg_Impl, MatrixHdl ) ); + m_xBtnMatrix->connect_toggled( LINK( this, FormulaDlg_Impl, MatrixHdl ) ); else m_xBtnMatrix->hide(); @@ -1655,7 +1655,7 @@ IMPL_LINK_NOARG( FormulaDlg_Impl, StructSelHdl, StructPage&, void) m_bStructUpdate = true; } -IMPL_LINK_NOARG( FormulaDlg_Impl, MatrixHdl, weld::Button&, void) +IMPL_LINK_NOARG( FormulaDlg_Impl, MatrixHdl, weld::ToggleButton&, void) { m_bUserMatrixFlag = true; UpdateValues(true); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits