diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java index 38fb94bea..e3aca4fb1 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java @@ -2487,7 +2487,7 @@ public int compare(Link a, Link b) { boolean sameY = tableBrowser.parent != null && Math.abs(tableBrowser.internalFrame.getY() - tableBrowser.parent.internalFrame.getY()) < 32; int linkPrio = 0; if (link.notHAligned) { - if (link.inClosure) { + if (link.inClosure || sameY) { linkPrio += 1; } } else {