From cab1530afc775f8a96cea2db281e35144d1e0bcf Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 30 Jan 2021 01:03:54 +0100 Subject: [PATCH] Add debug log output for layout change --- nw/core/tree.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nw/core/tree.py b/nw/core/tree.py index dd72c3ff..5fdc55ba 100644 --- a/nw/core/tree.py +++ b/nw/core/tree.py @@ -245,6 +245,9 @@ class NWTree(): if iLayout in LAYOUT_MAP: if hLevel in LAYOUT_MAP[iLayout]: tItem.itemLayout = LAYOUT_MAP[iLayout][hLevel] + logger.debug("Changed layout for %s from %s to %s" % ( + tHandle, iLayout.name, tItem.itemLayout.name + )) return True return False