diff options
Diffstat (limited to 'sw/source/ui/index/swuiidxmrk.cxx')
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 5929635026fb..627ccf874e1e 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -672,9 +672,9 @@ void SwIndexMarkPane::ModifyHdl(const weld::Widget& rBox) m_xLevelNF->set_value(m_xLevelNF->normalize(0)); bSetKey2 = true; } - m_xLevelFT->show(bLevelEnable); - m_xLevelNF->show(bLevelEnable); - m_xMainEntryCB->show(nPos == POS_INDEX); + m_xLevelFT->set_visible(bLevelEnable); + m_xLevelNF->set_visible(bLevelEnable); + m_xMainEntryCB->set_visible(nPos == POS_INDEX); m_xKey1FT->set_sensitive(bKeyEnable); m_xKey1DCB->set_sensitive(bKeyEnable); @@ -795,9 +795,9 @@ void SwIndexMarkPane::UpdateDialog() m_xKey1FT->set_sensitive(bKeyEnable); m_xKey1DCB->set_sensitive(bKeyEnable); m_xLevelNF->set_max(MAXLEVEL); - m_xLevelFT->show(bLevelEnable); - m_xLevelNF->show(bLevelEnable); - m_xMainEntryCB->show(!bLevelEnable); + m_xLevelFT->set_visible(bLevelEnable); + m_xLevelNF->set_visible(bLevelEnable); + m_xMainEntryCB->set_visible(!bLevelEnable); m_xKey2FT->set_sensitive(bKey2Enable); m_xKey2DCB->set_sensitive(bKey2Enable); @@ -1099,9 +1099,9 @@ SwAuthorMarkPane::SwAuthorMarkPane(weld::DialogController &rDialog, weld::Builde , m_xCreateEntryPB(rBuilder.weld_button("new")) , m_xEditEntryPB(rBuilder.weld_button("edit")) { - m_xActionBT->show(true); - m_xFromComponentRB->show(bNewEntry); - m_xFromDocContentRB->show(bNewEntry); + m_xActionBT->show(); + m_xFromComponentRB->set_visible(bNewEntry); + m_xFromDocContentRB->set_visible(bNewEntry); m_xFromComponentRB->set_active(bIsFromComponent); m_xFromDocContentRB->set_active(!bIsFromComponent); @@ -1116,8 +1116,8 @@ SwAuthorMarkPane::SwAuthorMarkPane(weld::DialogController &rDialog, weld::Builde m_rDialog.set_title(SwResId( bNewEntry ? STR_AUTHMRK_INSERT : STR_AUTHMRK_EDIT)); - m_xEntryED->show(!bNewEntry); - m_xEntryLB->show(bNewEntry); + m_xEntryED->set_visible(!bNewEntry); + m_xEntryLB->set_visible(bNewEntry); if (bNewEntry) { m_xEntryLB->connect_changed(LINK(this, SwAuthorMarkPane, CompEntryHdl)); |