cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [4/4] cayenne git commit: CAY-2476 Modeller: Fixed wrong behaviour of code generation dialog release notes change listener
Date Wed, 19 Sep 2018 10:57:35 GMT
CAY-2476 Modeller: Fixed wrong behaviour of code generation dialog
  release notes
  change listener


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/adcbf132
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/adcbf132
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/adcbf132

Branch: refs/heads/master
Commit: adcbf1322b4ae1af24ed772d28f1645c18153ba4
Parents: 3ae677a
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Wed Sep 19 13:57:14 2018 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Wed Sep 19 13:57:14 2018 +0300

----------------------------------------------------------------------
 RELEASE-NOTES.txt                                                  | 1 +
 .../cayenne/modeler/dialog/codegen/CustomModeController.java       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/adcbf132/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 0a9ab1e..18d952c 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -36,6 +36,7 @@ CAY-2463 Modeler: DB Schema generation doesn't work
 CAY-2464 ClassCastException when returning PRUNED_NODE in expression transformer
 CAY-2470 Can't bind SQLExec parameters in a loop
 CAY-2472 Clear cached replacement query on mutation in all indirect queries
+CAY-2476 Modeller: Fixed wrong behaviour of code generation dialog
 
 ----------------------------------
 Release: 4.1.M2

http://git-wip-us.apache.org/repos/asf/cayenne/blob/adcbf132/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/codegen/CustomModeController.java
----------------------------------------------------------------------
diff --git a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/codegen/CustomModeController.java
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/codegen/CustomModeController.java
index 439cfba..67df44b 100644
--- a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/codegen/CustomModeController.java
+++ b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/codegen/CustomModeController.java
@@ -173,7 +173,7 @@ public class CustomModeController extends GeneratorController {
 
 		JCheckBox pairs = this.view.getPairs();
 		updateView();
-		pairs.addChangeListener(e -> updateView());
+		pairs.addItemListener(e -> updateView());
 
 		superTemplate.updateView();
 		subTemplate.updateView();


Mime
View raw message