Changeset 27203 in osm


Ignore:
Timestamp:
2011-12-10T17:26:41+01:00 (13 years ago)
Author:
malcolmh
Message:

save

Location:
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java

    r27202 r27203  
    2828                        Node nextNode = null;
    2929                        Selection = newSelection;
    30                         node = null;
    31                         panelMain.mark.clearSign();
     30
    3231                        for (OsmPrimitive osm : Selection) {
    3332                                if (osm instanceof Node) {
     
    3837                                                        panelMain.mark.parseMark(node);
    3938                                                }
     39                                        } else {
     40                                                node = null;
     41                                                panelMain.mark.clearSign();
     42                                                manager.showVisualMessage(Messages.getString("OneNode"));
    4043                                        }
    4144                                }
    4245                        }
    4346                        if (nextNode == null) {
     47                                node = null;
     48                                panelMain.mark.clearSign();
    4449                                manager.showVisualMessage(Messages.getString("SelectNode"));
    4550                        }
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java

    r27202 r27203  
    647647                sectors.clear();
    648648                addLight();
     649                setLightRef("");
    649650        }
    650651
     
    16381639
    16391640                dlg.panelMain.syncPanel();
    1640 
    16411641        }
    16421642
     
    20922092
    20932093        public void saveSign(Node node) {
    2094 
     2094               
    20952095                if (getObject() != Obj.UNKNOWN) {
    20962096
Note: See TracChangeset for help on using the changeset viewer.