diff options
author | alt <alexander.solodukhin1@gmail.com> | 2022-01-04 13:17:45 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-01-05 16:00:14 +0100 |
commit | b65a0aadba3cba51c9ec4f543219351dfdb4bb6c (patch) | |
tree | 540b06057f68df01e3a9941fda814a917023cdea /sw/source | |
parent | 0b592cad64d02cb3e7f4da73c129ccd4d939d93e (diff) |
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.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
(cherry picked from commit a409739efe4507e23926d1862215c128904fda88)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127955
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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() |