Hi Simon and Giovanni,
I have had the problem a number of times in the past, almost every time I had to edit a legend, but now that I am trying to recreate it... grrr! :-)  I'll see if I can get it to happen again, starting qgis from the command line.

Patrick

