[Libreoffice-commits] core.git: cui/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon May 20 16:28:53 UTC 2019


 cui/source/tabpages/align.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 115ab48f86d4e3c6eede49767df1ee5a82b4ab22
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon May 20 15:19:19 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon May 20 18:27:52 2019 +0200

    Related: tdf#124467 make the wrap handler act as it did before
    
    Change-Id: I075b0fa8a28c0683542ef589144c041f41a74166
    Reviewed-on: https://gerrit.libreoffice.org/72604
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 900a91f7acd8..42a271028cf9 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -698,6 +698,7 @@ IMPL_LINK(AlignmentTabPage, AsianModeClickHdl, weld::ToggleButton&, rToggle, voi
 IMPL_LINK(AlignmentTabPage, WrapClickHdl, weld::ToggleButton&, rToggle, void)
 {
     m_aWrapState.ButtonToggled(rToggle);
+    UpdateEnableControls();
 }
 
 IMPL_LINK(AlignmentTabPage, HyphenClickHdl, weld::ToggleButton&, rToggle, void)
@@ -708,7 +709,6 @@ IMPL_LINK(AlignmentTabPage, HyphenClickHdl, weld::ToggleButton&, rToggle, void)
 IMPL_LINK(AlignmentTabPage, ShrinkClickHdl, weld::ToggleButton&, rToggle, void)
 {
     m_aShrinkState.ButtonToggled(rToggle);
-    UpdateEnableControls();
 }
 
 IMPL_LINK_NOARG(AlignmentTabPage, UpdateEnableHdl, weld::ComboBox&, void)


More information about the Libreoffice-commits mailing list