D20313: Hook up the main form layout with child form layouts

Filip Fila noreply at phabricator.kde.org
Tue Apr 9 22:45:15 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190409/8e1852d6/attachment.html>


More information about the Plasma-devel mailing list