Ignore:
Timestamp:
2013-08-01T18:57:30+02:00 (11 years ago)
Author:
akks
Message:

[josm/PicLayer] - disable menu items by default

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

Legend:

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

    r29805 r29807  
    11<?xml version="1.0" encoding="utf-8"?>
    22<project name="PicLayer" default="dist" basedir=".">
    3     <property name="commit.message" value="PicLayer - #8743 - fixed NPE when removing last layer"/>
     3    <property name="commit.message" value="[josm/PicLayer] - disable menu items by default"/>
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    55    <property name="plugin.main.version" value="6097"/>
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java

    r29805 r29807  
    7575        MainMenu.add(Main.main.menu.imagerySubMenu, newLayerFromFileAction);
    7676        MainMenu.add(Main.main.menu.imagerySubMenu, newLayerFromClipboardAction);
     77        newLayerFromFileAction.setEnabled(false);
     78        newLayerFromClipboardAction.setEnabled(false);
    7779        // Listen to layers
    7880        MapView.addLayerChangeListener(this);
Note: See TracChangeset for help on using the changeset viewer.