Fix crash when deleting a waypoint via right mouse click context menu


git-svn-id: http://svn.code.sf.net/p/qlandkartegt/code/QLandkarteGT/trunk@3982 d0c010d8-bb82-477e-a075-112140230451