Commit 0a8d908a authored by Don Gagne's avatar Don Gagne

Clear polygon edit when item changes

parent 968d9486
......@@ -214,6 +214,12 @@ Rectangle {
recalcFromCameraValues()
}
}
onIsCurrentItemChanged: {
if (!missionItem.isCurrentItem) {
polygonEditor.cancelPolygonEdit()
}
}
}
Connections {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment