Commit 9f819be65c850c8aa86d130ba20c35aca3171ca2
1 parent
f25883a4
Exists in
master
and in
7 other branches
Add subtype definition for list arguments of a templated parameter
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
ParamTemplateList.xml
... | ... | @@ -458,7 +458,7 @@ |
458 | 458 | </paramTemplate> |
459 | 459 | <paramTemplate paramId='pas_2d_elevation' fileName='pas_2d_elevation_##min##_##max##'> |
460 | 460 | <arguments> |
461 | - <argument key='min' name='Elev Min' type='list' default='0'> | |
461 | + <argument key='min' name='Elev Min' type='list' subtype='int' default='0'> | |
462 | 462 | <item key='0' name='0'/> |
463 | 463 | <item key='1' name='1'/> |
464 | 464 | <item key='2' name='2'/> |
... | ... | @@ -469,7 +469,7 @@ |
469 | 469 | <item key='7' name='7'/> |
470 | 470 | <item key='8' name='8'/> |
471 | 471 | </argument> |
472 | - <argument key='max' name='Elev Max' type='list' default='8'> | |
472 | + <argument key='max' name='Elev Max' type='list' subtype='int' default='8'> | |
473 | 473 | <item key='0' name='0'/> |
474 | 474 | <item key='1' name='1'/> |
475 | 475 | <item key='2' name='2'/> |
... | ... | @@ -484,7 +484,7 @@ |
484 | 484 | </paramTemplate> |
485 | 485 | <paramTemplate paramId='pas_2d_cem' fileName='pas_2d_cem_##min##_##max##'> |
486 | 486 | <arguments> |
487 | - <argument key='min' name='CEM Min' type='list' default='0'> | |
487 | + <argument key='min' name='CEM Min' type='list' subtype='int' default='0'> | |
488 | 488 | <item key='0' name='0'/> |
489 | 489 | <item key='1' name='1'/> |
490 | 490 | <item key='2' name='2'/> |
... | ... | @@ -497,7 +497,7 @@ |
497 | 497 | <item key='9' name='9'/> |
498 | 498 | <item key='10' name='10'/> |
499 | 499 | </argument> |
500 | - <argument key='max' name='CEM Max' type='list' default='10'> | |
500 | + <argument key='max' name='CEM Max' type='list' subtype='int' default='10'> | |
501 | 501 | <item key='0' name='0'/> |
502 | 502 | <item key='1' name='1'/> |
503 | 503 | <item key='2' name='2'/> | ... | ... |