File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ shared Function get multiLevelListsTemplates() : Collection
4242There shall be a json file called “multiLevelStyles.json” available in 4D Write Pro Interface Resources/4DWP_MultiLevel folder,
4343that will contain the definition of the pre-defined multi-level lists
4444
45- ⚠️ Update: No unnecessary enclosing folder
45+ ⚠️ Update: use generic name for enclosing folder : 4D WritePro Interface & accept the file at the root level
4646
4747*/
4848
@@ -54,7 +54,13 @@ that will contain the definition of the pre-defined multi-level lists
5454
5555 This:C1470 ._multiLevelListsTemplates := New shared collection:C1527
5656
57- var $file := File:C1566 ("/RESOURCES/multiLevelStyles.json" ; * )
57+ var $file := File:C1566 ("/RESOURCES/4D WritePro Interface/multiLevelStyles.json" ; * )
58+
59+ If (Not:C34 ($file .exists ))
60+
61+ $file := File:C1566 ("/RESOURCES/multiLevelStyles.json" ; * )
62+
63+ End if
5864
5965 If (Not:C34 ($file .exists )) // Use the built-in templates
6066
You can’t perform that action at this time.
0 commit comments