diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 15:30:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 20:27:38 +0200 |
commit | bb166403ef1026e3665b2d60810c71955d7402c0 (patch) | |
tree | 8b53027c66feaf328ca2a15e2aaff6fa13fa5ec4 /extensions/source/abpilot/abpfinalpage.cxx | |
parent | 27c89d6db49855ffad5ec38bb4842f5d30b42a05 (diff) |
use toggle instead of click for CheckButton
Change-Id: I7196581a8b7c307d531f6995e1c24db746afdb26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115883
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/abpilot/abpfinalpage.cxx')
-rw-r--r-- | extensions/source/abpilot/abpfinalpage.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx index 802b0d853b52..609918899e0b 100644 --- a/extensions/source/abpilot/abpfinalpage.cxx +++ b/extensions/source/abpilot/abpfinalpage.cxx @@ -61,9 +61,9 @@ namespace abp m_xName->connect_changed( LINK(this, FinalPage, OnEntryNameModified) ); m_xLocation->connect_changed( LINK(this, FinalPage, OnComboNameModified) ); - m_xRegisterName->connect_clicked( LINK( this, FinalPage, OnRegister ) ); + m_xRegisterName->connect_toggled( LINK( this, FinalPage, OnRegister ) ); m_xRegisterName->set_active(true); - m_xEmbed->connect_clicked( LINK( this, FinalPage, OnEmbed ) ); + m_xEmbed->connect_toggled( LINK( this, FinalPage, OnEmbed ) ); m_xEmbed->set_active(true); } @@ -204,7 +204,7 @@ namespace abp implCheckName(); } - IMPL_LINK_NOARG(FinalPage, OnRegister, weld::Button&, void) + IMPL_LINK_NOARG(FinalPage, OnRegister, weld::ToggleButton&, void) { bool bEnable = m_xRegisterName->get_active(); m_xNameLabel->set_sensitive(bEnable); @@ -212,7 +212,7 @@ namespace abp implCheckName(); } - IMPL_LINK_NOARG(FinalPage, OnEmbed, weld::Button&, void) + IMPL_LINK_NOARG(FinalPage, OnEmbed, weld::ToggleButton&, void) { bool bEmbed = m_xEmbed->get_active(); m_xLocationLabel->set_sensitive(!bEmbed); |