Changeset 32163 in osm
- Timestamp:
- 2016-05-11T20:34:42+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
r32060 r32163 20 20 21 21 import org.openstreetmap.josm.Main; 22 import org.openstreetmap.josm.gui.util.GuiHelper; 22 23 23 24 /** … … 156 157 } catch (Exception ex) { 157 158 Main.error(ex); 158 JOptionPane.showMessageDialog(Main.parent, tr("Error loading file.\nProbably an old version of the cache file."), tr("Error"), JOptionPane.ERROR_MESSAGE); 159 GuiHelper.runInEDTAndWait(new Runnable() { 160 @Override 161 public void run() { 162 JOptionPane.showMessageDialog(Main.parent, tr("Error loading file.\nProbably an old version of the cache file."), 163 tr("Error"), JOptionPane.ERROR_MESSAGE); 164 } 165 }); 159 166 return false; 160 167 }
Note:
See TracChangeset
for help on using the changeset viewer.