User: obo     
Date: 05/07/08 03:37:46

Modified:
 /dba/dbaccess/source/ui/app/
  AppDetailView.cxx

Log:
 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

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.10
Delta lines:  +9 -1
-------------------
--- AppDetailView.cxx   10 Mar 2005 16:44:39 -0000      1.9
+++ AppDetailView.cxx   8 Jul 2005 10:37:44 -0000       1.10
@@ -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]

Reply via email to