mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Handle cases where current vertex disappears (fixes #2234)
This commit is contained in:
@@ -119,7 +119,9 @@ iD.ui.preset.restrictions = function(field, context) {
|
||||
}
|
||||
|
||||
function render() {
|
||||
restrictions(selection);
|
||||
if (context.hasEntity(vertexID)) {
|
||||
restrictions(selection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user