Changeset 4761 in josm for trunk/src/org/openstreetmap/josm/gui/progress
- Timestamp:
- 2012-01-04T08:33:06+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/progress/PleaseWaitProgressMonitor.java
r4758 r4761 274 274 @Override 275 275 public void run() { 276 dialog.setVisible(false); 277 dialog.setCancelCallback(null); 278 dialog.setInBackgroundCallback(null); 279 dialog.removeWindowListener(windowListener); 280 dialog.dispose(); 281 dialog = null; 282 MapFrame map = Main.map; 283 if (map != null) { 284 map.statusLine.progressMonitor.setVisible(false); 285 } 286 Main.currentProgressMonitor = null; 276 if (dialog != null) { 277 dialog.setVisible(false); 278 dialog.setCancelCallback(null); 279 dialog.setInBackgroundCallback(null); 280 dialog.removeWindowListener(windowListener); 281 dialog.dispose(); 282 dialog = null; 283 Main.currentProgressMonitor = null; 284 MapFrame map = Main.map; 285 if (map != null) { 286 map.statusLine.progressMonitor.setVisible(false); 287 } 288 } 287 289 } 288 290 });
Note:
See TracChangeset
for help on using the changeset viewer.