Revision: 3268
Author: [email protected]
Date: Fri Feb 5 12:17:09 2010
Log: Update physical name of the FK constraint when the (logical) name is
changed in the dialog
http://code.google.com/p/power-architect/source/detail?r=3268
Modified:
/trunk/src/ca/sqlpower/architect/swingui/RelationshipEditPanel.java
=======================================
--- /trunk/src/ca/sqlpower/architect/swingui/RelationshipEditPanel.java Mon
Dec 21 08:27:43 2009
+++ /trunk/src/ca/sqlpower/architect/swingui/RelationshipEditPanel.java Fri
Feb 5 12:17:09 2010
@@ -322,6 +322,7 @@
relationship.begin(Messages.getString("RelationshipEditPanel.modifyRelationshipProperties"));
//$NON-NLS-1$
try {
relationship.setName(relationshipName.getText());
+
relationship.setPhysicalName(relationshipName.getText());
// set the parent label text of relationship lines
relationship.setTextForParentLabel(pkLabelTextField.getText());
// set the child label text of relationship lines