alt-click (for now) to bring ways in from vector background layers
[potlatch2.git] / net / systemeD / halcyon / WayUI.as
index 48872bea4ed1b7ac65034d5ee60f010b084b40b0..94a52df231869e237c546415d6f0d16d24e18b22 100755 (executable)
@@ -74,7 +74,9 @@ package net.systemeD.halcyon {
                    
                private function wayNodeRemoved(event:WayNodeEvent):void {
                    event.node.removeEventListener(Connection.NODE_MOVED, nodeMoved);
-                       paint.nodeuis[event.node.id].redraw();
+                       if (paint.nodeuis[event.node.id]) {
+                               paint.nodeuis[event.node.id].redraw();
+                       }
                    redraw();
                }