Changeset 4471 in josm for trunk


Ignore:
Timestamp:
2011-09-28T19:42:27+02:00 (13 years ago)
Author:
Don-vip
Message:

fix #6879 - missing repaint after loading incomplete child relations of a relation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ChildRelationBrowser.java

    r4310 r4471  
    2323import javax.swing.JPanel;
    2424import javax.swing.JScrollPane;
     25import javax.swing.SwingUtilities;
    2526import javax.swing.event.TreeSelectionEvent;
    2627import javax.swing.event.TreeSelectionListener;
     
    414415                    refreshView(r);
    415416                }
     417                SwingUtilities.invokeLater(new Runnable() {
     418                        public void run() {
     419                                Main.map.repaint();
     420                        }
     421                    });
    416422            } catch (Exception e) {
    417423                if (canceled) {
Note: See TracChangeset for help on using the changeset viewer.