From 6815067b75ab79c050d07693a9a1b7e306a4af1b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 19 May 2021 15:16:47 +0100 Subject: use toggle instead of click for RadioButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit only listen for one toggle for the button grouping Change-Id: I0c1866c25793ffce50bcf5f5a07fcdc98f64aacc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115818 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/source/ui/dbgui/validate.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/dbgui/validate.cxx') diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx index 2abb8e53e441..ca74136968d6 100644 --- a/sc/source/ui/dbgui/validate.cxx +++ b/sc/source/ui/dbgui/validate.cxx @@ -403,7 +403,7 @@ void ScTPValidationValue::Init() { m_xLbAllow->connect_changed( LINK( this, ScTPValidationValue, SelectHdl ) ); m_xLbValue->connect_changed( LINK( this, ScTPValidationValue, SelectHdl ) ); - m_xCbShow->connect_clicked( LINK( this, ScTPValidationValue, CheckHdl ) ); + m_xCbShow->connect_toggled( LINK( this, ScTPValidationValue, CheckHdl ) ); // cell range picker m_xEdMin->SetGetFocusHdl( LINK( this, ScTPValidationValue, EditSetFocusHdl ) ); @@ -688,7 +688,7 @@ IMPL_LINK_NOARG(ScTPValidationValue, SelectHdl, weld::ComboBox&, void) m_xBtnRef->GetWidget()->set_visible( bRange ); // cell range picker } -IMPL_LINK_NOARG(ScTPValidationValue, CheckHdl, weld::Button&, void) +IMPL_LINK_NOARG(ScTPValidationValue, CheckHdl, weld::ToggleButton&, void) { m_xCbSort->set_sensitive( m_xCbShow->get_active() ); } -- cgit