Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5c78f5a

Browse files
committed
Add a report issue under help menu.
this fixes nodebox#106
1 parent 599055a commit 5c78f5a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/nodebox/client/NodeBoxMenuBar.java

+12
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public NodeBoxMenuBar(NodeBoxDocument document) {
107107
JMenu helpMenu = new JMenu("Help");
108108
helpMenu.add(new GettingStartedAction());
109109
helpMenu.add(new HelpAndSupportAction());
110+
helpMenu.add(new ReportAnIssueAction());
111+
110112
helpMenu.addSeparator();
111113
if (!Platform.onMac()) {
112114
helpMenu.add(new AboutAction());
@@ -617,6 +619,16 @@ public void actionPerformed(ActionEvent e) {
617619
}
618620
}
619621

622+
public static class ReportAnIssueAction extends AbstractAction {
623+
public ReportAnIssueAction() {
624+
super("Report an Issue...");
625+
}
626+
627+
public void actionPerformed(ActionEvent e) {
628+
Platform.openURL("https://github.com/nodebox/nodebox/issues");
629+
}
630+
}
631+
620632
public static class CheckForUpdatesAction extends AbstractAction {
621633
public CheckForUpdatesAction() {
622634
super("Check for Updates...");

0 commit comments

Comments
 (0)