summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-06 20:27:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-07 09:53:45 +0100
commit75f1d3a9109acd4edd96033edbabe53d80920a52 (patch)
tree960f60f94e6dc553ed2d411c258ef9d98bf124b5 /sw/source
parent2796d4ab5c3cc3637d04b33a5e7f0dad4c90d408 (diff)
Resolves: tdf#146285 the "edit" button should be insensitive
for this case Change-Id: Ib60577d10bd4a91ea01c5aa6fcf3d50b38fbe24d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128065 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/chrdlg/numpara.cxx3
1 files changed, 2 insertions, 1 deletions
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();