Tag: cws_dev300_dba30d
User: fs      
Date: 2008-06-20 09:02:59+0000
Modified:
   dba/dbaccess/source/ui/browser/unodatbr.cxx

Log:
 #90912# proper state for SID_COPY when the table control is active

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: unodatbr.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/unodatbr.cxx?r1=1.200.8.9&r2=1.200.8.10
Delta lines:  +6 -5
-------------------
--- unodatbr.cxx        2008-06-16 08:48:10+0000        1.200.8.9
+++ unodatbr.cxx        2008-06-20 09:02:56+0000        1.200.8.10
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: unodatbr.cxx,v $
- * $Revision: 1.200.8.9 $
+ * $Revision: 1.200.8.10 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -1539,9 +1539,13 @@
                case ID_BROWSER_REMOVEFILTER:
                        return SbaXDataBrowserController::GetState( nId );
 
+        case ID_BROWSER_COPY:
+            if ( !m_pTreeView->HasChildPathFocus() )
+                // handled below
+                break;
+            // NO break!
         case ID_TREE_CLOSE_CONN:
         case ID_TREE_EDIT_DATABASE:
-        case ID_BROWSER_COPY:
         {
             SvLBoxEntry* pCurrentEntry( 
m_pTreeView->getListBox().GetCurEntry() );
             EntryType eType = getEntryType( pCurrentEntry );
@@ -1568,9 +1572,6 @@
             }
             else if ( nId == ID_BROWSER_COPY )
             {
-                if ( !m_pTreeView->HasChildPathFocus() )
-                    // handled below
-                    break;
                 aReturn.bEnabled = isEntryCopyAllowed( pCurrentEntry );
             }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to