Changeset 10494 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-06-25T16:12:48+02:00 (8 years ago)
Author:
stoecker
Message:

Don't use SideButton outside toggle dialogs, fix #12994

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/SingleChangesetDownloadPanel.java

    r10438 r10494  
    1111import javax.swing.AbstractAction;
    1212import javax.swing.BorderFactory;
     13import javax.swing.JButton;
    1314import javax.swing.JLabel;
    1415import javax.swing.JPanel;
     
    1819import org.openstreetmap.josm.Main;
    1920import org.openstreetmap.josm.actions.downloadtasks.ChangesetContentDownloadTask;
    20 import org.openstreetmap.josm.gui.SideButton;
    2121import org.openstreetmap.josm.gui.widgets.ChangesetIdTextField;
    2222import org.openstreetmap.josm.gui.widgets.SelectAllOnFocusGainedDecorator;
     
    5555
    5656        DownloadAction actDownload = new DownloadAction();
    57         SideButton btn = new SideButton(actDownload);
     57        JButton btn = new JButton(actDownload);
    5858        tfChangesetId.addActionListener(actDownload);
    5959        tfChangesetId.getDocument().addDocumentListener(actDownload);
Note: See TracChangeset for help on using the changeset viewer.