sw/source/ui/chrdlg/numpara.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit f2b9ccba7a2dace2c384de06464d6f3535e98620 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jan 6 20:27:51 2022 +0000 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sun Jan 9 13:33:09 2022 +0100 Resolves: tdf#146285 the "edit" button should be insensitive for this case Change-Id: Ib60577d10bd4a91ea01c5aa6fcf3d50b38fbe24d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128067 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx index 425bbc56a895..272763a43b56 100644 --- a/sw/source/ui/chrdlg/numpara.cxx +++ b/sw/source/ui/chrdlg/numpara.cxx @@ -200,7 +200,8 @@ void SwParagraphNumTabPage::Reset(const SfxItemSet* rSet) m_xNumberStyleLB->set_active(-1); } - EditNumStyleSelectHdl_Impl(*m_xNumberStyleLB); + if (m_xNumberStyleBX->get_sensitive()) + EditNumStyleSelectHdl_Impl(*m_xNumberStyleLB); m_xNumberStyleLB->save_value();