File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
sqldev/src/main/java/org/utplsql/sqldev/ui/runner Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1417,7 +1417,12 @@ public void mouseClicked(final MouseEvent e) {
1417
1417
testServerOutputTextPane .setContentType ("text/html" );
1418
1418
testServerOutputTextPane .setMinimumSize (TEXTPANE_DIM );
1419
1419
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
+ });
1421
1426
final JScrollPane testServerOutputScrollPane = new JScrollPane (testServerOutputTextPane );
1422
1427
c .gridx = 0 ;
1423
1428
c .gridy = 0 ;
You can’t perform that action at this time.
0 commit comments