Title: [commits] (stearns) [15305] Commit John's fix for bug 10652 (RC1 Linux: index error on empty trash), r=me
Revision
15305
Author
stearns
Date
2007-09-07 10:57:16 -0700 (Fri, 07 Sep 2007)

Log Message

Commit John's fix for bug 10652 (RC1 Linux: index error on empty trash), r=me

Modified Paths

Diff

Modified: trunk/chandler/parcels/osaf/framework/blocks/Table.py (15304 => 15305)

--- trunk/chandler/parcels/osaf/framework/blocks/Table.py	2007-09-07 01:31:48 UTC (rev 15304)
+++ trunk/chandler/parcels/osaf/framework/blocks/Table.py	2007-09-07 17:57:16 UTC (rev 15305)
@@ -391,16 +391,18 @@
         Handle the variety of raw mouse events cells get, passing them to 
         the rendering delegate if it wants them.
         """
-        # If the handlers we call (if any) want to eat the event, they'll
-        # call event.Skip(False)
-        event.Skip()
-        
         # Bug #7320: Don't process mouse events when the the table isn't visible
         # or when gridWindow's data has changed but hasn't been synchronized to the widget.
         if self.IsShown():
             blockItem = self.blockItem
             blockItem.itsView.dispatchQueuedNotifications()
             if not blockItem.isBlockDirty():
+                # From this point on we should let wxWidgets continue 
+                # processing the event. If the handlers we call (if any) 
+                # want to eat the event, they can still call 
+                # event.Skip(False) to do so.
+                event.Skip()
+        
                 gridWindow = self.GetGridWindow()
     
                 def callHandler(cell, isInCell, oldnew):




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to