From eb958c8d537367e8cd27029af1f0c7e4a0b5a20e Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Mon, 17 Jan 2022 08:04:16 -0500 Subject: [PATCH] remove contributionAdded() calls in addListener() --- app/src/processing/app/contrib/ContributionListing.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/processing/app/contrib/ContributionListing.java b/app/src/processing/app/contrib/ContributionListing.java index c8b3084d2..7b8e6adf0 100644 --- a/app/src/processing/app/contrib/ContributionListing.java +++ b/app/src/processing/app/contrib/ContributionListing.java @@ -234,9 +234,9 @@ public class ContributionListing { String isText = typed.substring(0, colon); String property = typed.substring(colon + 1); - // Chances are the person is still typing the property, so rather than - // make the list flash empty (because nothing contains "is:" or "has:", - // just return true. + // Chances are the person is still typing the property, + // so rather than make the list flash empty (because nothing + // contains "is:" or "has:"), just return true. if (!isProperty(property)) { return true; } @@ -327,9 +327,11 @@ public class ContributionListing { protected void addListener(ChangeListener listener) { + /* for (Contribution contrib : allContributions) { listener.contributionAdded(contrib); } + */ listeners.add(listener); }