diff options
author | alt <alexander.solodukhin1@gmail.com> | 2022-01-04 13:17:45 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2022-01-05 13:22:33 +0100 |
commit | a409739efe4507e23926d1862215c128904fda88 (patch) | |
tree | f29cc0d45923d9f7cc7564400a4fa6fcebddfca7 /sw | |
parent | d75bf2c7703d6a741f04e4a3fc5a6180428f53b2 (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>
Diffstat (limited to 'sw')
-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() |