filipf added a comment.
@mart before you suggested we should do something like: `twinFormLayouts: stack.item && stack.item.formLayout ? [stack.item.formLayout] : []` but I'm not seeing any errors or issues if twinFormLayouts doesn't find `main.currentItem.formLayout`. Is the diff okay then or should I specify that it shouldn't do anything if it doesn't find a child form layout? REPOSITORY R119 Plasma Desktop BRANCH hook-main-and-child-layouts-up (branched from master) REVISION DETAIL https://phabricator.kde.org/D20313 To: filipf, #plasma, ngraham, mart Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart