Changeset 22702 in osm for applications/editors/josm


Ignore:
Timestamp:
2010-08-20T01:45:20+02:00 (14 years ago)
Author:
stephankn
Message:

'permissen checkbox for new object creation'

Location:
applications/editors/josm/plugins/remotecontrol
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/remotecontrol/build.xml

    r22675 r22702  
    2828       
    2929        <!-- set before publising -->
    30         <property name="commit.message" value="version command evaluates permission flags" />           
     30        <property name="commit.message" value="permissen checkbox for new object creation" />           
    3131        <property name="plugin.main.version" value="2830" />
    3232       
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java

    r22675 r22702  
    4444        perms.add(permissionChangeSelection, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL));
    4545        perms.add(permissionChangeViewport, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL));
     46        perms.add(permissionCreateObjects, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL));
    4647        perms.add(permissionReadProtocolversion, GBC.eol().insets(0,5,0,0).fill(GBC.HORIZONTAL));
    4748        remote.add(perms, GBC.eol().fill(GBC.HORIZONTAL));
     
    5051        remote.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL));
    5152
    52 
    5353        permissionLoadData.setSelected(Main.pref.getBoolean("remotecontrol.permission.load-data", true));
    5454        permissionChangeSelection.setSelected(Main.pref.getBoolean("remotecontrol.permission.change-selection", true));
    5555        permissionChangeViewport.setSelected(Main.pref.getBoolean("remotecontrol.permission.change-viewport", true));
    56         permissionCreateObjects.setSelected(Main.pref.getBoolean("remotecontrol.permission.create-objects", true));
     56        permissionCreateObjects.setSelected(Main.pref.getBoolean("remotecontrol.permission.create-objects", false));
    5757        permissionReadProtocolversion.setSelected(Main.pref.getBoolean("remotecontrol.permission.read-protocolversion", true));
    5858        alwaysAskUserConfirm.setSelected(Main.pref.getBoolean("remotecontrol.always-confirm", false));
Note: See TracChangeset for help on using the changeset viewer.