diff --git a/dotdrop/cfg_yaml.py b/dotdrop/cfg_yaml.py index faaf797..601a4e4 100644 --- a/dotdrop/cfg_yaml.py +++ b/dotdrop/cfg_yaml.py @@ -1065,6 +1065,10 @@ class CfgYaml: self._yaml_dict[self.key_profiles][key] = { self.key_profile_dotfiles: [] } + # and add to the live version too + self.profiles[key] = { + self.key_profile_dotfiles: [] + } if self._debug: self._dbg('adding new profile: {}'.format(key)) self._dirty = True