File tree 1 file changed +2
-1
lines changed
src/main/gui/net/sf/jailer/ui/databrowser
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -8546,7 +8546,7 @@ protected void initOnSelectionButton() {
8546
8546
8547
8547
List <Association > assocs = new ArrayList <Association >();
8548
8548
for (Association a : association .source .associations ) {
8549
- if (a .destination == association .destination && a != association ) {
8549
+ if (a .destination == association .destination ) {
8550
8550
assocs .add (a );
8551
8551
}
8552
8552
}
@@ -8563,6 +8563,7 @@ protected void onClick(MouseEvent e) {
8563
8563
uc = uc .substring (0 , MAX_COND_LENGTH ) + "..." ;
8564
8564
}
8565
8565
JMenuItem item = new JMenuItem (uc );
8566
+ item .setEnabled (a != association );
8566
8567
item .setToolTipText (assocToolTip (a .getUnrestrictedJoinCondition (), a ));
8567
8568
item .setIcon (UIUtil .scaleIcon (this , blueDotIcon ));
8568
8569
if (a .isInsertDestinationBeforeSource ()) {
You can’t perform that action at this time.
0 commit comments