[Libreoffice-commits] core.git: formula/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 21 08:50:45 UTC 2021
formula/source/ui/dlg/formula.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit fa3266f9bf00b5858f36ae37e5720026a1ed40cc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 20 16:53:14 2021 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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);
More information about the Libreoffice-commits
mailing list