known bug Error in map Editor · Issue #6046 · vcmi/vcmi · GitHub
please try the development version, seems to work there