Changeset 11102 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-10-08T14:04:09+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools/bugreport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.