Skip to content

Commit 384c26f

Browse files
author
Vasyl Vavrychuk
committed
addition
1 parent 323985d commit 384c26f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/widget_view_visualizer.xsl

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<xsl:call-template name="style"/>
1616
<input type="checkbox">
1717
<xsl:copy-of select="@elementId"/>
18+
<xsl:if test="@checked = 'true'">
19+
<xsl:attribute name="checked"/>
20+
</xsl:if>
1821
</input>
1922
<span>
2023
<xsl:value-of select="@text"/>
@@ -71,7 +74,7 @@
7174
<xsl:apply-templates/>
7275
</div>
7376
</xsl:template>
74-
<xsl:template match="QPlainTextEdit">
77+
<xsl:template match="QTextEdit|QPlainTextEdit">
7578
<textarea>
7679
<xsl:copy-of select="@elementId"/>
7780
<xsl:call-template name="style"/>

0 commit comments

Comments
 (0)