sw/source/ui/index/swuiidxmrk.cxx | 2 ++ sw/source/uibase/inc/swuiidxmrk.hxx | 1 + sw/uiconfig/swriter/ui/indexentry.ui | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-)
New commits: commit a2756bf71a304f2bb1bf49753dfd37a3402bc463 Author: Heiko Tietze <[email protected]> AuthorDate: Fri Apr 28 13:18:25 2023 +0200 Commit: Heiko Tietze <[email protected]> CommitDate: Fri Apr 28 15:13:12 2023 +0200 Resolves tdf#153499 - Hide newly introduced frame label Frame content is not shown for existing entries Follow-up to 4ec75d22eb916e3809e9e92f77fd25e33f6b21ee Change-Id: Ic2b40b19424245ede326a5ef5b53f684ca8a3f94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151166 Reviewed-by: Seth Chaiklin <[email protected]> Reviewed-by: Heiko Tietze <[email protected]> Tested-by: Heiko Tietze <[email protected]> diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 7bab5d5728af..22c1bc7409c8 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -168,6 +168,7 @@ SwIndexMarkPane::SwIndexMarkPane(std::shared_ptr<weld::Dialog> xDialog, weld::Bu , m_xNextSameBT(rBuilder.weld_button("last")) , m_xPrevBT(rBuilder.weld_button("previous")) , m_xNextBT(rBuilder.weld_button("next")) + , m_xForSelectedEntry(rBuilder.weld_label("selectedentrytitle")) { m_xSyncED->show(); @@ -345,6 +346,7 @@ void SwIndexMarkPane::InitControls() //to include all equal entries may only be allowed in the body and even there //only when a simple selection exists const FrameTypeFlags nFrameType = m_pSh->GetFrameType(nullptr,true); + m_xForSelectedEntry->show(); m_xApplyToAllCB->show(); m_xSearchCaseSensitiveCB->show(); m_xSearchCaseWordOnlyCB->show(); diff --git a/sw/source/uibase/inc/swuiidxmrk.hxx b/sw/source/uibase/inc/swuiidxmrk.hxx index 2500548c1582..7f5460a8be45 100644 --- a/sw/source/uibase/inc/swuiidxmrk.hxx +++ b/sw/source/uibase/inc/swuiidxmrk.hxx @@ -87,6 +87,7 @@ class SwIndexMarkPane std::unique_ptr<weld::Button> m_xNextSameBT; std::unique_ptr<weld::Button> m_xPrevBT; std::unique_ptr<weld::Button> m_xNextBT; + std::unique_ptr<weld::Label> m_xForSelectedEntry; void Apply(); void InitControls(); diff --git a/sw/uiconfig/swriter/ui/indexentry.ui b/sw/uiconfig/swriter/ui/indexentry.ui index ca3f1f5da8fc..5a70ad727db6 100644 --- a/sw/uiconfig/swriter/ui/indexentry.ui +++ b/sw/uiconfig/swriter/ui/indexentry.ui @@ -582,8 +582,8 @@ </child> <child type="label"> <object class="GtkLabel" id="selectedentrytitle"> - <property name="visible">True</property> <property name="can-focus">False</property> + <property name="no-show-all">True</property> <property name="label" translatable="yes" context="indexentry|selectedentrytitle">For Selected Entry</property> <attributes> <attribute name="weight" value="bold"/>
