Added a message to warn the user when chaning an inherited variable

Pieter requested the user to be warned when editing an inherited variable, as it breaks future inheritance.