瀏覽代碼

Fix paramContainer and paramContainerLayout name with correct groupLabel substitution

MattClarkson 12 年之前
父節點
當前提交
f83ece44a0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Libs/CommandLineModules/Frontend/QtGui/Resources/ctkCmdLineModuleXmlToQtUi.xsl

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

@@ -256,9 +256,9 @@
         <property name="checked">
           <bool><xsl:value-of select="not(@advanced)"></xsl:value-of></bool>
         </property>
-        <layout class="QVBoxLayout" name="paramContainerLayout:${groupLabel}">
+        <layout class="QVBoxLayout" name="paramContainerLayout:{$groupLabel}">
           <item>
-            <widget class="QWidget" name="paramContainer:${groupLabel}">
+            <widget class="QWidget" name="paramContainer:{$groupLabel}">
               <layout class="QGridLayout">
                 <xsl:apply-templates select="./description/following-sibling::*"/>
               </layout>