You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ha...@apache.org on 2014/05/18 16:51:45 UTC

svn commit: r1595628 - /openoffice/trunk/main/sw/source/ui/misc/glossary.cxx

Author: hanya
Date: Sun May 18 14:51:45 2014
New Revision: 1595628

URL: http://svn.apache.org/r1595628
Log:
#i124204# make fields emtpy on the auto text dialog when parent node is selected

Modified:
    openoffice/trunk/main/sw/source/ui/misc/glossary.cxx

Modified: openoffice/trunk/main/sw/source/ui/misc/glossary.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/misc/glossary.cxx?rev=1595628&r1=1595627&r2=1595628&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/misc/glossary.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/misc/glossary.cxx Sun May 18 14:51:45 2014
@@ -349,7 +349,12 @@ IMPL_LINK( SwGlossaryDlg, GrpSelect, SvT
 		ShowAutoText(*::GetCurrGlosGroup(), aShortNameEdit.GetText());
 	}
 	else
+	{
+		aNameED.SetText(aEmptyStr);
+		aShortNameEdit.SetText(aEmptyStr);
+		aInsertBtn.Enable(sal_False);
 		ShowAutoText(aEmptyStr, aEmptyStr);
+	}
 	//Controls aktualisieren
 	NameModify(&aShortNameEdit);
     if( SfxRequest::HasMacroRecorder( pSh->GetView().GetViewFrame() ) )