cui/source/tabpages/paragrph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7afd5aa47cda6200d259d025163a207b80068622 Author: László Németh <nem...@numbertext.org> AuthorDate: Tue Apr 1 17:04:02 2025 +0200 Commit: László Németh <nem...@numbertext.org> CommitDate: Wed Apr 2 09:42:19 2025 +0200 tdf#165354 cui: gray out Move Line at disabling hyphenation Follow-up to commit 698b38a18f5f70fd8d50968bc50951aba7085175 "tdf#165354 sw cui: implement HyphenationKeepLine – part 3". Change-Id: I5cff4f280a1166ddd42df25fc53ab1f2ee0dc588 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183601 Tested-by: Jenkins Reviewed-by: László Németh <nem...@numbertext.org> diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 5db7ce43b474..b0465b425dd6 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -2623,7 +2623,7 @@ void SvxExtParagraphTabPage::HyphenClickHdl() m_xSpreadEndZoneLabel->set_sensitive(bAcross); m_aSpreadEndZone.set_sensitive(bAcross); // only sensitive, if the hyphenation is disabled across spreads - m_xAcrossMoveLineBox->set_sensitive( m_xAcrossSpreadBox->get_state() != TRISTATE_TRUE ); + m_xAcrossMoveLineBox->set_sensitive( bEnable && m_xAcrossSpreadBox->get_state() != TRISTATE_TRUE ); m_xHyphenBox->set_state(bEnable ? TRISTATE_TRUE : TRISTATE_FALSE); }