diff options
Diffstat (limited to 'src/com/vaadin/event/dd/acceptcriteria/Not.java')
-rw-r--r-- | src/com/vaadin/event/dd/acceptcriteria/Not.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/event/dd/acceptcriteria/Not.java b/src/com/vaadin/event/dd/acceptcriteria/Not.java index 85ff7e9bc9..1ed40a324d 100644 --- a/src/com/vaadin/event/dd/acceptcriteria/Not.java +++ b/src/com/vaadin/event/dd/acceptcriteria/Not.java @@ -31,6 +31,7 @@ public class Not extends ClientSideCriterion { acceptCriterion.paint(target); } + @Override public boolean accept(DragAndDropEvent dragEvent) { return !acceptCriterion.accept(dragEvent); } |