- Timestamp:
- 2016-10-08T14:04:09+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r10936 r11102 294 294 295 295 switch (ed.showDialog().getValue()) { 296 case 1: ta.copyToClip pboard(); break;296 case 1: ta.copyToClipboard(); break; 297 297 case 2: BugReportSender.reportBug(reportHeader); break; 298 298 default: // Do nothing -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportDialog.java
r10819 r11102 111 111 panel.add(new UrlLabel(Main.getJOSMWebsite() + "/newticket"), GBC.std().fill(GBC.HORIZONTAL)); 112 112 JButton copy = new JButton("Copy to clipboard"); 113 copy.addActionListener(e -> textPanel.copyToClip pboard());113 copy.addActionListener(e -> textPanel.copyToClipboard()); 114 114 panel.add(copy, GBC.eol().anchor(GBC.EAST)); 115 115 content.add(panel, GBC.eop().fill()); -
trunk/src/org/openstreetmap/josm/tools/bugreport/DebugTextDisplay.java
r10695 r11102 65 65 * Copies the debug text to the clipboard. This includes the code tags for trac. 66 66 * @return <code>true</code> if copy was successful 67 * @since 11102 (typo) 67 68 */ 68 public boolean copyToClip pboard() {69 public boolean copyToClipboard() { 69 70 return ClipboardUtils.copyString(String.format(CODE_PATTERN, text)); 70 71 }
Note:
See TracChangeset
for help on using the changeset viewer.