Fix for bug #329: Resource configuration file disappears after edit and save/save+apply

fixes #329