diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-20 15:36:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-21 10:49:40 +0200 |
commit | d16ceda55b145cb31882bbf504924aa9103278aa (patch) | |
tree | b75d59c682b6083660d01e33f1a9e673c6f30731 /sw/source/uibase | |
parent | e8578423e9390a07419066d6c350c34fa254095d (diff) |
use toggle instead of click for RadioButton
Change-Id: Ic246c68749f79cc1b25fed08a66fd8a0d57495f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115884
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/convert.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/dbinsdlg.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/inc/insfnote.hxx | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx index 6b1d9da1a323..19080ac7581e 100644 --- a/sw/source/uibase/inc/convert.hxx +++ b/sw/source/uibase/inc/convert.hxx @@ -52,7 +52,7 @@ class SwConvertTableDlg : public SfxDialogController SwWrtShell* pShell; DECL_LINK(AutoFormatHdl, weld::Button&, void); - DECL_LINK(BtnHdl, weld::Button&, void); + DECL_LINK(BtnHdl, weld::ToggleButton&, void); DECL_LINK(CheckBoxHdl, weld::ToggleButton&, void); DECL_LINK(RepeatHeaderCheckBoxHdl, weld::ToggleButton&, void); diff --git a/sw/source/uibase/inc/dbinsdlg.hxx b/sw/source/uibase/inc/dbinsdlg.hxx index 2d3206331e2f..49d6fd9e39ea 100644 --- a/sw/source/uibase/inc/dbinsdlg.hxx +++ b/sw/source/uibase/inc/dbinsdlg.hxx @@ -123,10 +123,10 @@ class SwInsertDBColAutoPilot : public SfxDialogController, public utl::ConfigIte std::unique_ptr<weld::Button> m_xPbTableFormat; std::unique_ptr<weld::Button> m_xPbTableAutofmt; - DECL_LINK( PageHdl, weld::Button&, void ); + DECL_LINK( PageHdl, weld::ToggleButton&, void ); DECL_LINK( AutoFormatHdl, weld::Button&, void ); DECL_LINK( TableFormatHdl, weld::Button&, void ); - DECL_LINK( DBFormatHdl, weld::Button&, void ); + DECL_LINK( DBFormatHdl, weld::ToggleButton&, void ); DECL_LINK( TableToFromHdl, weld::Button&, void ); DECL_LINK( TVSelectHdl, weld::TreeView&, void ); DECL_LINK( CBSelectHdl, weld::ComboBox&, void ); diff --git a/sw/source/uibase/inc/insfnote.hxx b/sw/source/uibase/inc/insfnote.hxx index 6ea4cc339108..ac523457e343 100644 --- a/sw/source/uibase/inc/insfnote.hxx +++ b/sw/source/uibase/inc/insfnote.hxx @@ -49,9 +49,8 @@ class SwInsFootNoteDlg: public weld::GenericDialogController std::unique_ptr<weld::Button> m_xPrevBT; std::unique_ptr<weld::Button> m_xNextBT; - DECL_LINK(NumberCharHdl, weld::Button&, void); + DECL_LINK(NumberToggleHdl, weld::ToggleButton&, void); DECL_LINK(NumberEditHdl, weld::Entry&, void); - DECL_LINK(NumberAutoBtnHdl, weld::Button&, void); DECL_LINK(NumberExtCharHdl, weld::Button&, void); DECL_LINK(NextPrevHdl, weld::Button&, void); |