Ticket #3470: prevent_scroll_in_scroll_for_status_report.patch
File prevent_scroll_in_scroll_for_status_report.patch, 923 bytes (added by , 15 years ago) |
---|
-
src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
97 97 ta.setLineWrap(true); 98 98 ta.setEditable(false); 99 99 JScrollPane sp = new JScrollPane(ta); 100 sp.setPreferredSize(new Dimension(600, 500));101 100 102 101 ExtendedDialog ed = new ExtendedDialog(Main.parent, 103 102 tr("Status Report"), 104 103 new String[] {tr("Copy to clipboard and close"), tr("Close") }); 105 104 ed.setButtonIcons(new String[] {"copy.png", "cancel.png" }); 106 ed.setContent(sp); 105 ed.setContent(sp, false); 106 ed.setMinimumSize(new Dimension(500, 0)); 107 107 ed.showDialog(); 108 108 109 109 if(ed.getValue() != 1) return;