mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-28 02:31:59 +01:00
hide alert on clicking link
This commit is contained in:
parent
10514b8039
commit
23f3ae51db
@ -527,6 +527,7 @@ public class AppServices {
|
||||
Label label = new Label();
|
||||
hyperlinkLabel.setPrefWidth(Math.max(360, TextUtils.computeTextWidth(label.getFont(), link, 0.0D) + 50));
|
||||
hyperlinkLabel.setOnAction(event -> {
|
||||
alert.close();
|
||||
get().getApplication().getHostServices().showDocument(link);
|
||||
});
|
||||
alert.getDialogPane().setContent(hyperlinkLabel);
|
||||
|
Loading…
x
Reference in New Issue
Block a user