kopia lustrzana https://github.com/JOSM/MapWithAI
Modify the max add defaults
Signed-off-by: Taylor Smock <tsmock@fb.com>pull/1/head
rodzic
df0d947ed3
commit
b5786301bb
|
@ -15,7 +15,7 @@ import org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.MapWithAILayerInf
|
|||
import org.openstreetmap.josm.spi.preferences.Config;
|
||||
|
||||
public final class MapWithAIPreferenceHelper {
|
||||
private static final int DEFAULT_MAXIMUM_ADDITION = 20;
|
||||
private static final int DEFAULT_MAXIMUM_ADDITION = 100;
|
||||
private static final String AUTOSWITCHLAYERS = MapWithAIPlugin.NAME.concat(".autoswitchlayers");
|
||||
private static final String MERGEBUILDINGADDRESSES = MapWithAIPlugin.NAME.concat(".mergebuildingaddresses");
|
||||
private static final String MAXIMUMSELECTION = MapWithAIPlugin.NAME.concat(".maximumselection");
|
||||
|
|
|
@ -53,8 +53,8 @@ public class MapWithAIPreferences extends DefaultTabPreferenceSetting {
|
|||
super("mapwithai", tr("MapWithAI preferences"), tr("Modify MapWithAI preferences"), false, new JTabbedPane());
|
||||
|
||||
switchLayerCheckBox = new JCheckBox();
|
||||
maximumAdditionSpinner = new JSpinner(
|
||||
new SpinnerNumberModel(MapWithAIPreferenceHelper.getMaximumAddition(), 0, 500, 1));
|
||||
maximumAdditionSpinner = new JSpinner(new SpinnerNumberModel(MapWithAIPreferenceHelper.getMaximumAddition(), 0,
|
||||
MapWithAIPreferenceHelper.getDefaultMaximumAddition() * 10, 1));
|
||||
mergeBuildingAddressCheckBox = new JCheckBox();
|
||||
replacementTableDisplayData = new ArrayList<>();
|
||||
fillReplacementTagDisplayData(replacementTableDisplayData);
|
||||
|
|
Ładowanie…
Reference in New Issue