Restore parent form's settings when subform ends
Merge pull request #316 from vith/fix_nested_subform_settings

Fix nested subform settings