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) {
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 ;
You can’t perform that action at this time.
0 commit comments