You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/12/03 18:08:46 UTC
svn commit: r1041913 -
/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java
Author: gbrown
Date: Fri Dec 3 17:08:46 2010
New Revision: 1041913
URL: http://svn.apache.org/viewvc?rev=1041913&view=rev
Log:
Fix bug that incorrectly consumed container mouse down events.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java?rev=1041913&r1=1041912&r2=1041913&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java Fri Dec 3 17:08:46 2010
@@ -90,12 +90,16 @@ public class TableViewRowEditor extends
Display display = (Display)container;
Window window = (Window)display.getComponentAt(x, y);
+ boolean consumed;
if (window != TableViewRowEditor.this
&& (window == null || !isOwner(window))) {
endEdit(true);
+ consumed = (getEditEffect() != null);
+ } else {
+ consumed = false;
}
- return (getEditEffect() != null);
+ return consumed;
}
@Override