Commit 57dfcbcc authored by Marco Martin's avatar Marco Martin

make sure to reset compactrep anchors

parent 7c1bc53c
......@@ -35,6 +35,8 @@ Item {
onCompactRepresentationChanged: {
if (compactRepresentation) {
compactRepresentation.parent = root;
compactRepresentation.anchors.fill = undefined;
compactRepresentation.anchors.right = undefined;
compactRepresentation.anchors.left = root.left;
compactRepresentation.anchors.top = root.top;
compactRepresentation.width = units.iconSizes.medium;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment