diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-26 17:52:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-26 18:00:47 +0200 |
commit | 3f8072136f02041f8c4615130405771bd6959d59 (patch) | |
tree | 28765d1b812c99aefbf053e4b95e209c0ff9956d /configmgr | |
parent | fe87d9b8633f00c18ae770782694cf71db10bbfc (diff) |
Handle removal of non-mandatory set members.
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/xcuparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx index 3a81ea4e3673..4746bcf9300a 100644 --- a/configmgr/source/xcuparser.cxx +++ b/configmgr/source/xcuparser.cxx @@ -1109,7 +1109,7 @@ void XcuParser::handleSetNode(xmlreader::XmlReader & reader, SetNode * set) { bool known = i != set->getMembers().end(); if (known && !state_.top().locked && finalizedLayer >= valueParser_.getLayer() && - mandatoryLayer > valueParser_.getLayer()) + (!mandatory || mandatoryLayer > valueParser_.getLayer())) { set->getMembers().erase(i); } |