crash on f4 in masks groups menu

git-svn-id: http://farmanager.googlecode.com/svn/trunk@11286 ea59307d-ff68-5b67-5a21-acd59c66a581