diff --git a/sources/editor/styleeditor.cpp b/sources/editor/styleeditor.cpp index 6329a8304..08a41dec9 100644 --- a/sources/editor/styleeditor.cpp +++ b/sources/editor/styleeditor.cpp @@ -479,6 +479,7 @@ void StyleEditor::updateForm() */ bool StyleEditor::setPart(CustomElementPart *new_part) { m_part_list.clear(); + m_cep_list.clear(); if (!new_part) {