Changeset 1857 in josm for trunk/src/org/openstreetmap/josm/actions/UploadAction.java
- Timestamp:
- 2009-07-26T22:52:23+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r1820 r1857 26 26 import org.openstreetmap.josm.data.osm.OsmPrimitive; 27 27 import org.openstreetmap.josm.gui.ExtendedDialog; 28 import org.openstreetmap.josm.gui.OptionPaneUtil; 28 29 import org.openstreetmap.josm.gui.OsmPrimitivRenderer; 29 30 import org.openstreetmap.josm.gui.PleaseWaitRunnable; … … 174 175 ConflictCollection conflicts = Main.map.mapView.getEditLayer().getConflicts(); 175 176 if (conflicts !=null && !conflicts.isEmpty()) { 176 JOptionPane.showMessageDialog(Main.parent,tr("There are unresolved conflicts. You have to resolve these first.")); 177 OptionPaneUtil.showMessageDialog( 178 Main.parent, 179 tr("There are unresolved conflicts. You have to resolve these first."), 180 tr("Warning"), 181 JOptionPane.WARNING_MESSAGE 182 ); 177 183 Main.map.conflictDialog.action.button.setSelected(true); 178 184 Main.map.conflictDialog.action.actionPerformed(null);
Note:
See TracChangeset
for help on using the changeset viewer.