瀏覽代碼

Fixed substitution of image/file input/output values in ctkCmdLineModuleXmlToQtUi.xsl

Matt Clarkson 13 年之前
父節點
當前提交
9c61f4649a
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Libs/CommandLineModules/Frontend/QtGui/Resources/ctkCmdLineModuleXmlToQtUi.xsl

+ 4 - 4
Libs/CommandLineModules/Frontend/QtGui/Resources/ctkCmdLineModuleXmlToQtUi.xsl

@@ -438,7 +438,7 @@
             <xsl:call-template name="createQtDesignerStringListProperty"/>
             <xsl:if test="$imageInputSetProperty != ''">
               <property name="{$imageInputSetProperty}">
-                <set>{$imageInputSetValue}</set>
+                <set><xsl:value-of select="$imageInputSetValue"/></set>
               </property>
             </xsl:if>
           </widget>
@@ -449,7 +449,7 @@
             <xsl:call-template name="createQtDesignerStringListProperty"/>
             <xsl:if test="$imageOutputSetProperty != ''">
               <property name="{$imageOutputSetProperty}">
-                <set>{$imageOutputSetValue}</set>
+                <set><xsl:value-of select="$imageOutputSetValue"/></set>
               </property>
             </xsl:if>
           </widget>
@@ -474,7 +474,7 @@
             <xsl:call-template name="createQtDesignerStringListProperty"/>
             <xsl:if test="$fileInputSetProperty != ''">
               <property name="{$fileInputSetProperty}">
-                <set>{$fileInputSetValue}</set>
+                <set><xsl:value-of select="$fileInputSetValue"/></set>
               </property>
             </xsl:if>
           </widget>
@@ -485,7 +485,7 @@
             <xsl:call-template name="createQtDesignerStringListProperty"/>
             <xsl:if test="$fileOutputSetProperty != ''">
               <property name="{$fileOutputSetProperty}">
-                <set>{$fileOutputSetValue}</set>
+                <set><xsl:value-of select="$fileOutputSetValue"/></set>
               </property>
             </xsl:if>
           </widget>