INTEGRATION: CWS dba24 (1.6.4); FILE MERGED

2005/02/07 11:24:02 oj 1.6.4.1: #i42189# diesable sub popups when it contains no sub entries
This commit is contained in:
Vladimir Glazounov 2005-03-10 15:46:30 +00:00
parent a9d9b79f80
commit d3168e9d29

View file

@ -2,9 +2,9 @@
*
* $RCSfile: dbtreelistbox.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: kz $ $Date: 2005-01-21 17:10:11 $
* last change: $Author: vg $ $Date: 2005-03-10 16:46:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -555,7 +555,10 @@ namespace
USHORT nId = _pPopup->GetItemId(i);
PopupMenu* pSubPopUp = _pPopup->GetPopupMenu(nId);
if ( pSubPopUp )
{
lcl_enableEntries(pSubPopUp,_pController);
_pPopup->EnableItem(nId,pSubPopUp->HasValidEntries());
}
else
{
::com::sun::star::util::URL aCommand;