sw/source/ui/table/tabledlg.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit b65a0aadba3cba51c9ec4f543219351dfdb4bb6c Author: alt <alexander.solodukh...@gmail.com> AuthorDate: Tue Jan 4 13:17:45 2022 +0200 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Wed Jan 5 16:00:14 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> (cherry picked from commit a409739efe4507e23926d1862215c128904fda88) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127955 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> 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()