Reuse the same _tempProfile in Edit dialog and clear its properties
Also in save() just clear _previewedProperties; logically it wouldn't be holding any properties that weren't set on _tempProfile, since all those properties have been saved by the changeProfile() call, clear() makes sense.
Please register or sign in to comment