[Qgis-user] Python form logic on attribute table open
Thomas Colley
it087 at neath-porttalbot.gov.uk
Tue May 3 01:42:08 PDT 2016
Hi
I have a Python init function bound to an attribute form. This is working great using the identify tool to open a feature form but is throwing an error when I open the layer's attribute table.
Is there any way I can check in the Python whether a feature form has been opened or the attribute table. I have no need for the logic when opening the attribute table.
I've found QgsAttributeEditorContext that looks like it might do the trick but I can't work out how to access it.
Any advice would be appreciated.
Thanks
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160503/98a4239c/attachment.html>
More information about the Qgis-user
mailing list