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:
parent
a9d9b79f80
commit
d3168e9d29
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue