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 79dfab7

Browse filesBrowse files
hyperlinks in warnings require mouse click to activate
1 parent accc46c commit 79dfab7
Copy full SHA for 79dfab7

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
@@ -1390,7 +1390,12 @@ public void mouseClicked(final MouseEvent e) {
13901390
testWarningsTextPane.setContentType("text/html");
13911391
testWarningsTextPane.setMinimumSize(TEXTPANE_DIM);
13921392
testWarningsTextPane.setPreferredSize(TEXTPANE_DIM);
1393-
testWarningsTextPane.addHyperlinkListener(event -> openLink(event.getDescription()));
1393+
testWarningsTextPane.addHyperlinkListener(event -> {
1394+
if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
1395+
final String link = event.getDescription();
1396+
openLink(link);
1397+
}
1398+
});
13941399
final JScrollPane testWarningsScrollPane = new JScrollPane(testWarningsTextPane);
13951400
c.gridx = 0;
13961401
c.gridy = 0;

0 commit comments

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