Re: [Qgis-user] Programmatically close a layout dialog

2018-05-24 Thread DelazJ
Hi Nyall, Thanks a lot. I've been playing (for a long moment) with masterLayout and openLayoutDesigner, trying different combinations but I just overlooked the plural form. Works like a charm. Harrissou 2018-05-23 5:39 GMT+02:00 Nyall Dawson : > On 22 May 2018 at 23:54,

Re: [Qgis-user] Programmatically close a layout dialog

2018-05-22 Thread Nyall Dawson
On 22 May 2018 at 23:54, DelazJ wrote: > Hi, > > From the Python Console, how can I close a print layout dialog, knowing its > name? In 3.0 something like this will work: designers = [d for d in iface.openLayoutDesigners() if d.masterLayout().name() == 'Layout 1'] if

[Qgis-user] Programmatically close a layout dialog

2018-05-22 Thread DelazJ
Hi, >From the Python Console, how can I close a print layout dialog, knowing its name? Thanks for any hint, Harrissou ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: