Re #6000. Show an error message if attribute cannot be set
Merge branch 'bugfix/6000_mantid_fit_crash' into develop