Browse Source

add submit bug report to help menu

terminal
Craig Raw 4 years ago
parent
commit
f377f97931
  1. 4
      src/main/java/com/sparrowwallet/sparrow/AppController.java
  2. 1
      src/main/resources/com/sparrowwallet/sparrow/app.fxml

4
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();

1
src/main/resources/com/sparrowwallet/sparrow/app.fxml

@ -102,6 +102,7 @@
<MenuItem mnemonicParsing="false" text="Show Introduction" onAction="#showIntroduction"/>
<MenuItem mnemonicParsing="false" text="Show Online Documentation" onAction="#showDocumentation"/>
<MenuItem mnemonicParsing="false" text="Show Log File" onAction="#showLogFile"/>
<MenuItem mnemonicParsing="false" text="Submit Bug Report" onAction="#submitBugReport"/>
<MenuItem styleClass="osxHide" mnemonicParsing="false" text="About Sparrow" onAction="#showAbout"/>
</Menu>
</menus>

Loading…
Cancel
Save