Tag: cws_src680_dba20blocker User: fs Date: 05/06/23 05:31:57 Modified: /dba/dbaccess/source/ui/app/ AppDetailView.cxx
Log: copying fix for #i49390# into this CWS File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppDetailView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailView.cxx?r1=1.9&r2=1.9.66.1 Delta lines: +12 -4 -------------------- --- AppDetailView.cxx 10 Mar 2005 16:44:39 -0000 1.9 +++ AppDetailView.cxx 23 Jun 2005 12:31:54 -0000 1.9.66.1 @@ -2,9 +2,9 @@ * * $RCSfile: AppDetailView.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.9.66.1 $ * - * last change: $Author: vg $ $Date: 2005/03/10 16:44:39 $ + * last change: $Author: fs $ $Date: 2005/06/23 12:31:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -219,6 +219,13 @@ // 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 @@ { if ( rCode.GetCode() == KEY_RETURN ) { - SvLBoxEntry* pEntry = FirstSelected(); + SvLBoxEntry* pEntry = GetCurEntry() ? GetCurEntry() : FirstSelected(); if ( pEntry ) onSelected( pEntry ); return; @@ -487,6 +494,7 @@ void OTasksWindow::Clear() { DBG_CHKTHIS(OTasksWindow,NULL); + m_aCreation.resetLastActive(); SvLBoxEntry* pEntry = m_aCreation.First(); while ( pEntry ) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
