on xenial help sign in
cimi prefers it this way
commitaa052523747d4a52ae9207d5ee4357015393f153 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 24 Aug 2016, 17:50 (10 years ago) parent5f33e71
1 file changed+2−4
plugins/Dash/CardCreator.js+2−4
plugins/Dash/CardCreator.js+2−4
@@ -573,10 +573,8 @@ function cardString(template, components, isCardTool, artShapeStyle, categoryLay
573573 .arg(artShapeHolderShapeCode)
574574 .arg(fallbackStatusCode)
575575 .arg(fallbackURICode);
576− } else {
577− if (isCardTool) {
578− code += 'readonly property size artShapeSize: Qt.size(-1, -1);\n'
579− }
576+ } else if (isCardTool) {
577+ code += 'readonly property size artShapeSize: Qt.size(-1, -1);\n'
580578 }
581579
582580 if (headerAsOverlay) {