sw/source/ui/table/tabledlg.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit a409739efe4507e23926d1862215c128904fda88
Author:     alt <alexander.solodukh...@gmail.com>
AuthorDate: Tue Jan 4 13:17:45 2022 +0200
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Wed Jan 5 13:22:33 2022 +0100

    Fixed tdf#143142 when unable to scroll table column width properties.
    
    Fixed the issue when unable to scroll table column width properties on some 
occasions.
    
    Change-Id: Id0a89d248d2a4effc0cb08ca0dc60aa23f66d70e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127938
    Tested-by: Jenkins
    Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 8b46688ba969..7762a9d33588 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -789,6 +789,13 @@ IMPL_LINK_NOARG(SwTableColumnPage, SizeHdl, void*, void)
             break;
         }
     }
+
+    // tdf#143142 m_nMetFields has been updated and we need to re-check 
whether to show right button or not.
+    if (m_nNoOfVisibleCols > m_nMetFields)
+    {
+        m_xUpBtn->set_sensitive(true);
+    }
+
 }
 
 SwTableColumnPage::~SwTableColumnPage()

Reply via email to