Changeset 2800 in osm


Ignore:
Timestamp:
2007-05-06T21:43:38+02:00 (18 years ago)
Author:
frsantos
Message:

Avoid painting the tree twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidateAction.java

    r2792 r2800  
    5757       
    5858                plugin.errors = new ArrayList<TestError>();
    59                 plugin.validationDialog.setVisible(true);
    6059               
    6160                Collection<Test> tests = OSMValidatorPlugin.getTests(true);
     
    9796                tests = null;
    9897               
    99                 plugin.validationDialog.refresh(plugin.errors);
     98                plugin.validationDialog.tree.setErrors(plugin.errors);
     99        plugin.validationDialog.setVisible(true);
    100100        Main.map.repaint();
    101101        Main.ds.fireSelectionChanged(Main.ds.getSelected());
Note: See TracChangeset for help on using the changeset viewer.