Add debug log output for layout change

This commit is contained in:
Veronica K. B. Olsen
2021-01-30 01:03:54 +01:00
parent 90e63f1898
commit cab1530afc
+3
View File
@@ -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