Check layer type in more detail
Check layer type in more detail

Add some more checks at the start to ensure that the selected layer
is of type Vector and geometry type Line. If not, provide a more
specific error message to the user.

rkistner/chinese-postman,rkistner/chinese-postman