diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-08 09:37:44 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-08 09:37:44 +0000 |
commit | 0d630269cccfba94101ab221129d5736ce76b37b (patch) | |
tree | 8327ec0b6db67b7b389a516631da120949578dc4 /dbaccess/source/ui/app/AppDetailView.cxx | |
parent | INTEGRATION: CWS dba20blocker (1.6.66); FILE MERGED (diff) | |
download | core-0d630269cccfba94101ab221129d5736ce76b37b.tar.gz core-0d630269cccfba94101ab221129d5736ce76b37b.zip |
INTEGRATION: CWS dba20blocker (1.9.66); FILE MERGED
2005/06/23 12:31:54 fs 1.9.66.1: copying fix for #i49390# into this CWS
Diffstat (limited to 'dbaccess/source/ui/app/AppDetailView.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx index b619845384ec..8675429326f7 100644 --- a/dbaccess/source/ui/app/AppDetailView.cxx +++ b/dbaccess/source/ui/app/AppDetailView.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AppDetailView.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: vg $ $Date: 2005-03-10 16:44:39 $ + * last change: $Author: obo $ $Date: 2005-07-08 10:37:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -219,6 +219,13 @@ void OCreationList::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel ) // since I don't overlook the consequences, and we're close to 2.0 ...) } // ----------------------------------------------------------------------------- +void OCreationList::ModelHasCleared() +{ + SvTreeListBox::ModelHasCleared(); + m_pLastActiveEntry = NULL; + m_pMouseDownEntry = NULL; +} +// ----------------------------------------------------------------------------- void OCreationList::GetFocus() { SvTreeListBox::GetFocus(); @@ -347,7 +354,7 @@ void OCreationList::KeyInput( const KeyEvent& rKEvt ) { if ( rCode.GetCode() == KEY_RETURN ) { - SvLBoxEntry* pEntry = FirstSelected(); + SvLBoxEntry* pEntry = GetCurEntry() ? GetCurEntry() : FirstSelected(); if ( pEntry ) onSelected( pEntry ); return; @@ -487,6 +494,7 @@ void OTasksWindow::fillCreationNew( const TResourceStruct& _rList ) void OTasksWindow::Clear() { DBG_CHKTHIS(OTasksWindow,NULL); + m_aCreation.resetLastActive(); SvLBoxEntry* pEntry = m_aCreation.First(); while ( pEntry ) { |