Re: [Kicad-developers] Embrace TransferDataTo/FromWindow

2018-03-06 Thread Jeff Young
> ...most of our dialogs do not use this. It will be a non-trivial task to get > them all updated. We could start by getting rid of the Swap Layers… dialog. ;) https://bugs.launchpad.net/kicad/+bug/1670422 > On 6 Mar 2018, at 21:18, Wayne

Re: [Kicad-developers] Embrace TransferDataTo/FromWindow

2018-03-06 Thread Wayne Stambaugh
This is already in the UI policy http://docs.kicad-pcb.org/doxygen/md_Documentation_development_ui-policy.html#dialogs-xfer The problem is a lot of developers relied on the old pattern when creating dialogs so most of our dialogs do not use this. It will be a non-trivial task to get them all

[Kicad-developers] Embrace TransferDataTo/FromWindow

2018-03-06 Thread Jeff Young
We’ve got a lot of dialogs that don’t make use of these. Not only does it make the code longer and more complex, it also results in bugs (the most recent being that hitting in the Create Array… dialog does a Cancel, not an OK). I’ve got to go through most all of the dialogs for the