소스 검색

Use correct property for ctkPathLineEdit.

Sascha Zelzer 13 년 전
부모
커밋
3d8f1b657d
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      Libs/CommandLineModules/Core/Resources/ctkCmdLineModuleXmlToQtUi.xsl

+ 5 - 2
Libs/CommandLineModules/Core/Resources/ctkCmdLineModuleXmlToQtUi.xsl

@@ -332,6 +332,9 @@
           <widget class="ctkPathLineEdit"  name="parameter:{name}">
             <xsl:call-template name="commonWidgetProperties"/>
             <xsl:call-template name="createQtDesignerStringListProperty"/>
+            <property name="filters">
+              <set>ctkPathLineEdit::Files</set>
+            </property>
           </widget>
         </item>
         <item>
@@ -358,8 +361,8 @@
         <item>
           <widget class="ctkPathLineEdit"  name="parameter:{name}">
             <xsl:call-template name="commonWidgetProperties"/>
-            <property name="options">
-              <set>ctkPathLineEdit::ShowDirsOnly</set>
+            <property name="filters">
+              <set>ctkPathLineEdit::Dirs</set>
             </property>
           </widget>
         </item>