diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 15:16:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-19 21:36:02 +0200 |
commit | 6815067b75ab79c050d07693a9a1b7e306a4af1b (patch) | |
tree | e2896b92c1260274b5829b5429748a52beb382d6 /sc/source/ui/dbgui/validate.cxx | |
parent | 3de15e365d120c92147f79dab082cca395abf75e (diff) |
use toggle instead of click for RadioButton
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 <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/dbgui/validate.cxx')
-rw-r--r-- | sc/source/ui/dbgui/validate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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() ); } |