Changeset 7624 in josm for trunk/src/org
- Timestamp:
- 2014-10-16T20:59:29+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r7420 r7624 29 29 import org.openstreetmap.josm.gui.widgets.JosmTextArea; 30 30 import org.openstreetmap.josm.plugins.PluginHandler; 31 import org.openstreetmap.josm.tools.BugReportExceptionHandler;32 import org.openstreetmap.josm.tools.OpenBrowser;33 31 import org.openstreetmap.josm.tools.PlatformHookUnixoid; 34 32 import org.openstreetmap.josm.tools.Shortcut; … … 202 200 switch (ed.showDialog().getValue()) { 203 201 case 1: Utils.copyToClipboard(text.toString()); break; 204 case 2: OpenBrowser.displayUrl(BugReportExceptionHandler.getBugReportUrl( 205 Utils.strip(reportHeader)).toExternalForm()) ; break; 202 case 2: ReportBugAction.reportBug(reportHeader) ; break; 206 203 } 207 204 } -
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r7463 r7624 73 73 import org.openstreetmap.josm.actions.PurgeAction; 74 74 import org.openstreetmap.josm.actions.RedoAction; 75 import org.openstreetmap.josm.actions.ReportBugAction; 75 76 import org.openstreetmap.josm.actions.RestartAction; 76 77 import org.openstreetmap.josm.actions.ReverseWayAction; … … 296 297 /** Help / Show Status Report */ 297 298 public final ShowStatusReportAction statusreport = new ShowStatusReportAction(); 299 /** Help / Report bug */ 300 public final ReportBugAction reportbug = new ReportBugAction(); 298 301 299 302 /** … … 763 766 764 767 helpMenu.add(statusreport); 768 helpMenu.add(reportbug); 769 helpMenu.addSeparator(); 765 770 766 771 current = helpMenu.add(help); // FIXME why is help not a JosmAction?
Note:
See TracChangeset
for help on using the changeset viewer.