diff --git a/Toolset/palettes/project browser/revprojectbrowserbehavior.livecodescript b/Toolset/palettes/project browser/revprojectbrowserbehavior.livecodescript index 3f85105eee..c3e3601413 100644 --- a/Toolset/palettes/project browser/revprojectbrowserbehavior.livecodescript +++ b/Toolset/palettes/project browser/revprojectbrowserbehavior.livecodescript @@ -1476,7 +1476,7 @@ function levelConnectors pObjectArray, pParentRow, pPosition put "branch" into tLevelConnectors[1] end if else if pObjectArray["type"] is "card" then - if word 1 of pObjectArray["owner"] is "stack" AND pObjectArray["owner"] contains "of" then + if word 1 of pObjectArray["owner"] is "stack" AND the owner of pObjectArray["owner"] is not empty then put sDisplayArray["objects"][pParentRow]["levels"] into tParentLevelConnectors if pPosition is "only" then if tParentLevelConnectors[1] is "branch" then put "vertical" into tLevelConnectors[1] diff --git a/notes/bugfix-22440.md b/notes/bugfix-22440.md new file mode 100644 index 0000000000..ef967cc0cb --- /dev/null +++ b/notes/bugfix-22440.md @@ -0,0 +1 @@ +# Fix card indentation in PB if stack name contains "of"