Ignore:
Timestamp:
2012-08-16T11:16:33+02:00 (12 years ago)
Author:
larry0ua
Message:

'Utilsplugin2: SplitObjects exception fix when closed way only is selected'

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

Legend:

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

    r28551 r28556  
    3030<project name="utilsplugin2" default="dist" basedir=".">
    3131    <!-- enter the SVN commit message -->
    32     <property name="commit.message" value="Utilsplugin2: SplitObjects now can use line as a splitter"/>
     32    <property name="commit.message" value="Utilsplugin2: SplitObjects exception fix when closed way only is selected"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    3434    <property name="plugin.main.version" value="4980"/>
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitObjectAction.java

    r28551 r28556  
    170170                return;
    171171            }
     172        } else if (selectedWay != null && selectedNodes.isEmpty()) {
     173            JOptionPane.showMessageDialog(Main.parent,
     174                    tr("The selected way is not a split way, please select split points or split way too."),
     175                    tr("Warning"),
     176                    JOptionPane.WARNING_MESSAGE);
     177            return;
    172178        }
    173179
Note: See TracChangeset for help on using the changeset viewer.