Ignore:
Timestamp:
2017-09-07T21:10:49+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - remove GUI references from BugReport and BugReportQueue

signature of BugReport#getReportText changed without deprecation
(probably not used by any external plugin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bugreport/DebugTextDisplay.java

    r12649 r12770  
    66import javax.swing.JScrollPane;
    77
     8import org.openstreetmap.josm.actions.ShowStatusReportAction;
    89import org.openstreetmap.josm.gui.datatransfer.ClipboardUtils;
    910import org.openstreetmap.josm.gui.widgets.JosmTextArea;
     
    4950    public DebugTextDisplay(BugReport report) {
    5051        this();
    51         setCodeText(report.getReportText());
    52         report.addChangeListener(e -> setCodeText(report.getReportText()));
     52        setCodeText(report.getReportText(ShowStatusReportAction.getReportHeader()));
     53        report.addChangeListener(e -> setCodeText(report.getReportText(ShowStatusReportAction.getReportHeader())));
    5354    }
    5455
Note: See TracChangeset for help on using the changeset viewer.