Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77ba5a9

Browse filesBrowse files
hyperlinks in info (server output) require mouse click to activate
1 parent 79dfab7 commit 77ba5a9
Copy full SHA for 77ba5a9

File tree

1 file changed

+6
-1
lines changed
Filter options

1 file changed

+6
-1
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,12 @@ public void mouseClicked(final MouseEvent e) {
14171417
testServerOutputTextPane.setContentType("text/html");
14181418
testServerOutputTextPane.setMinimumSize(TEXTPANE_DIM);
14191419
testServerOutputTextPane.setPreferredSize(TEXTPANE_DIM);
1420-
testServerOutputTextPane.addHyperlinkListener(event -> openLink(event.getDescription()));
1420+
testServerOutputTextPane.addHyperlinkListener(event -> {
1421+
if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
1422+
final String link = event.getDescription();
1423+
openLink(link);
1424+
}
1425+
});
14211426
final JScrollPane testServerOutputScrollPane = new JScrollPane(testServerOutputTextPane);
14221427
c.gridx = 0;
14231428
c.gridy = 0;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.