Commit fb353c2b authored by Matti Pulkkinen's avatar Matti Pulkkinen
Browse files

changed default button states

parent 0d13712c
......@@ -144,7 +144,7 @@ public class MapDialog extends JFrame {
Element layer = (Element) capabilities.item(i);
String name = layer.getElementsByTagName("Name").item(0).getTextContent();
String title = layer.getElementsByTagName("Title").item(0).getTextContent();
this.leftPanel.add(new LayerCheckBox(name, title, false));
this.leftPanel.add(new LayerCheckBox(name, title, (i == 0) ? true : false));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment