Tag: cws_src680_dba201 User: fs Date: 05/07/11 01:47:07 Modified: /dba/dbaccess/source/ui/app/ AppDetailView.cxx
Log: RESYNC: (1.9-1.10); FILE MERGED 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.28.1&r2=1.9.28.2 Delta lines: +12 -4 -------------------- --- AppDetailView.cxx 22 Apr 2005 08:53:56 -0000 1.9.28.1 +++ AppDetailView.cxx 11 Jul 2005 08:47:05 -0000 1.9.28.2 @@ -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]
