sw/source/ui/chrdlg/numpara.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 46e74a8bf03c06776cb144418206db7c4b843b41 Author: Justin Luth <[email protected]> AuthorDate: Wed Mar 1 10:03:28 2023 -0500 Commit: Justin Luth <[email protected]> CommitDate: Wed Mar 1 21:43:58 2023 +0000 tdf#62032 sw: make List Level UI experimental I think the UI is working fine, but now LO is doing things that it never used to do, so not all interactions are working properly - so hide the ability for now. Specifically, when changing the list level in a style, it is not being applied to the existing paragraphs. It only applies when the style is removed and re-added. Change-Id: I092ac0e5ec7bf296d1f3b62b75d4f7209db00045 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148066 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx index 7392a3f06d21..0a3329045016 100644 --- a/sw/source/ui/chrdlg/numpara.cxx +++ b/sw/source/ui/chrdlg/numpara.cxx @@ -29,6 +29,7 @@ #include <fmtline.hxx> #include <numpara.hxx> +#include <officecfg/Office/Common.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/frame.hxx> #include <sfx2/viewsh.hxx> @@ -84,6 +85,11 @@ SwParagraphNumTabPage::SwParagraphNumTabPage(weld::Container* pPage, weld::Dialo m_xRestartParaCountCB->connect_toggled(LINK(this, SwParagraphNumTabPage, LineCountHdl_Impl)); m_xNumberStyleLB->connect_changed(LINK(this, SwParagraphNumTabPage, EditNumStyleSelectHdl_Impl)); m_xEditNumStyleBtn->connect_clicked(LINK(this, SwParagraphNumTabPage, EditNumStyleHdl_Impl)); + + if (officecfg::Office::Common::Misc::ExperimentalMode::get()) + m_xListLvBX->show(); + else + m_xListLvBX->hide(); } SwParagraphNumTabPage::~SwParagraphNumTabPage()
