[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Mon Aug 15 11:25:39 UTC 2016
sw/source/ui/index/swuiidxmrk.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 5b9480b5d29a7f5fc4ba509f180a71b162451b34
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Aug 15 12:19:43 2016 +0100
Related: tdf#87686 on refresh from selection, only consider the edit updated
not the category list, which re-guesses the keys. So user input keys remain
the same on resync
Change-Id: I75a069bb3e828f8d5910f36996c6538c4cde4431
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index cc82dbf..50cf341 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -386,7 +386,7 @@ IMPL_LINK_NOARG_TYPED(SwIndexMarkPane, SyncSelectionHdl, Button*, void)
m_pApplyToAllCB->Enable(!aOrgStr.isEmpty() &&
!(nFrameType & ( FrameTypeFlags::HEADER | FrameTypeFlags::FOOTER | FrameTypeFlags::FLY_ANY )));
SearchTypeHdl(m_pApplyToAllCB);
- ModifyHdl(m_pTypeDCB);
+ ModifyHdl(m_pEntryED);
}
// evaluate Ok-Button
@@ -650,10 +650,12 @@ IMPL_LINK_TYPED( SwIndexMarkPane, ModifyListBoxHdl, ListBox&, rBox, void )
{
ModifyHdl(&rBox);
}
+
IMPL_LINK_TYPED( SwIndexMarkPane, ModifyEditHdl, Edit&, rEdit, void )
{
ModifyHdl(&rEdit);
}
+
void SwIndexMarkPane::ModifyHdl(Control* pBox)
{
if (m_pTypeDCB == pBox)
More information about the Libreoffice-commits
mailing list