From f377f979317897b94dae2577b2181d0f52032e99 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Wed, 21 Apr 2021 10:37:41 +0200 Subject: [PATCH] add submit bug report to help menu --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 4 ++++ src/main/resources/com/sparrowwallet/sparrow/app.fxml | 1 + 2 files changed, 5 insertions(+) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index ec489ec1..21cb3d09 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -323,6 +323,10 @@ public class AppController implements Initializable { } } + public void submitBugReport(ActionEvent event) throws IOException { + AppServices.get().getApplication().getHostServices().showDocument("https://sparrowwallet.com/submitbugreport"); + } + public void showAbout(ActionEvent event) { Stage aboutStage = getAboutStage(); aboutStage.show(); diff --git a/src/main/resources/com/sparrowwallet/sparrow/app.fxml b/src/main/resources/com/sparrowwallet/sparrow/app.fxml index 137ce39d..52078e30 100644 --- a/src/main/resources/com/sparrowwallet/sparrow/app.fxml +++ b/src/main/resources/com/sparrowwallet/sparrow/app.fxml @@ -102,6 +102,7 @@ +