From e8fbb2adfd58feb33d283b3f81b751d4c1f6a216 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sat, 29 Jan 2022 16:41:33 +0100 Subject: [PATCH] warn for bad 'tabbed' nodes --- src/core/layoutnode.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/layoutnode.cpp b/src/core/layoutnode.cpp index 209a82a4..44721195 100644 --- a/src/core/layoutnode.cpp +++ b/src/core/layoutnode.cpp @@ -133,6 +133,8 @@ LayoutNode LayoutNode::FromJSON(json& j) fprintf(stderr, "WARN: tabbed item not an object\n"); } } + } else if (node._type == "tabbed") { + fprintf(stderr, "WARN: tabs is not an array\n"); } return node;