[DF-507] Resource editor qt fog fix(df 507)

[DF-507] Fix switching of  fog state after using custom color tool.