Skip to content

Commit 98579f0

Browse files
committed
github:19997 - use generic name for enclosing folder : 4D WritePro Interface & accept the file at the root level
1 parent e152c3c commit 98579f0

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Project/Sources/Classes/_ui.4dm

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ shared Function get multiLevelListsTemplates() : Collection
4242
There shall be a json file called “multiLevelStyles.json” available in 4D Write Pro Interface Resources/4DWP_MultiLevel folder,
4343
that 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

0 commit comments

Comments
 (0)