summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-15 12:19:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-15 12:23:47 +0100
commit5b9480b5d29a7f5fc4ba509f180a71b162451b34 (patch)
treef029b0090d3ce2a7d9da83ce0e0dc25823d3b03c /sw/source/ui
parentea2604180089ec749086f868a17ffef7cbcbbc47 (diff)
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
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index cc82dbfa5d3c..50cf341183e8 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)