diff options
author | Darshan11 <darshan.upadhyay@collabora.com> | 2024-03-08 20:54:43 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2024-03-14 15:06:42 +0100 |
commit | 49ca3e30f22d7005e2afb4989c32fe0130805e5d (patch) | |
tree | 0d2cd5db581ca171ba9bdbe0cc805bace94204ae /cui | |
parent | 1222d98eaad463e35286f215b3bdeb909ea155bf (diff) |
Hide "Add and resize" button from numbering and bullets dialog for ONLINE
- Image tab had "Add and resize" option for numbering and bullets dialog
- which is not need in online
- so we will just hide that browseBtn for online
Change-Id: Ib87f1e7ae7e6df5256ab77122b477695a45cf441
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164587
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 08a5c1352f4d65c180995cdfca5c981f88035901)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164818
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index d1cb79341281..792b8b265ae6 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -739,6 +739,10 @@ SvxBitmapPickTabPage::SvxBitmapPickTabPage(weld::Container* pPage, weld::DialogC m_xExamplesVS->SetDoubleClickHdl(LINK(this, SvxBitmapPickTabPage, DoubleClickHdl_Impl)); m_xBtBrowseFile->connect_clicked(LINK(this, SvxBitmapPickTabPage, ClickAddBrowseHdl_Impl)); + if(comphelper::LibreOfficeKit::isActive()) + { + m_xBtBrowseFile->hide(); + } eCoreUnit = rSet.GetPool()->GetMetric(rSet.GetPool()->GetWhich(SID_ATTR_NUMBERING_RULE)); // determine graphic name |