diff options
author | Tsutomu Uchino <hanya@apache.org> | 2014-05-18 14:51:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 20:38:12 +0100 |
commit | e0eb5fa849c5680031f809a1440a35cbd6b58e93 (patch) | |
tree | 5850e3d8e2634cfda2454852a87a80f63e939113 /sw | |
parent | 90b4c3a888de093a2f42318c5caeb5419e0e7d1c (diff) |
Resolves: #i124204# make fields empty on the auto text dialog...
when parent node is selected
(cherry picked from commit 3e285da1115b83bfd168567d561615fb3ee3e6c9)
Conflicts:
sw/source/ui/misc/glossary.cxx
Change-Id: I9ef8b28e55a27d4b48432b50678e1a8bc19e0935
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index c45df95a09c4..f794f537897f 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -265,7 +265,12 @@ IMPL_LINK( SwGlossaryDlg, GrpSelect, SvTreeListBox *, pBox ) ShowAutoText(::GetCurrGlosGroup(), m_pShortNameEdit->GetText()); } else - ShowAutoText(aEmptyOUStr, aEmptyOUStr); + { + m_pNameED->SetText(""); + m_pShortNameEdit->SetText(""); + m_pShortNameEdit->Enable(false); + ShowAutoText("", ""); + } // update controls NameModify(m_pShortNameEdit); if( SfxRequest::HasMacroRecorder( pSh->GetView().GetViewFrame() ) ) |